Synopses & Reviews
A visual and accessible guide to JavaScript and jQuery in a built-to-last hardcover editionIn JavaScript & jQuery renowned author Jon Duckett discards the traditional programming book template and approaches writing code in a more relevant, less intimidating way. Full-color and packed with instructional graphics and photos, his books have gained a loyal following by illustrating programming in a way both instructive for newcomers and invaluable for seasoned coders.
By discussing JavaScript and jQuery in a single text, Duckett ensures you will quickly be writing your own working scripts. Yet the book doesn't assume you have experience in either JavaScript or jQuery. By making use of popular jQuery plugins, Duckett illustrates techniques that would require pages upon pages of detailed explanation if you were being taught to create the plugins yourself. This durable and attractive hardcover edition is a book you will have open on your desk as a reference for years to come.
- A timeless and lasting version of a classic "Duckett" book in a hardbound, dust-jacketed edition
- Completely accessible to those who feel intimidated by the subject matter and relevant to all front-end designers and developers who need to understand JavaScript
- Discusses applying responsive design techniques, leveraging APIs to save you time and work in coding, and identifying when to use CSS transforms over pure JavaScript
- Beautiful 4-color illustrations and examples make this a terrific academic resource for those of all experience levels
JavaScript & jQuery clearly explains the jargon of programming, addressing the vocabulary without making it a prerequisite for readers. Duckett speaks directly to readers, making this an invaluable resource.
Synopsis
The book takes a far more visual approach than other titles, with lots of diagrams, infographics, and lifestyle photography, following the same format as HTML & CSS (design and build websites). The audience of that title has already shown a strong interest in a book on JavaScript in this format.
Unlike the majority of books on JavaScript or JQuery, this title covers both (because JQuery makes it easier and faster to develop your own scripts), and it does not assume experience of either of these technologies. It will make use of some popular JQuery plugins to illustrate techniques that would otherwise require many pages of detailed explanation (if the reader were being taught to create the plugins from scratch themselves). By explaining how it works, we can use fewer pages and still explain the same core concepts (simultaneously showing readers how to use JQuery plugins rather than writing scripts from scratch).
The book makes it clear that it will explain the jargon of programming clearly and simply to those who do not understand the vocabulary (rather than pretending to be jargon-free), which is important because the reader does need to know these terms if they are to understand how to use many of the JQuery plugins available and understand their documentation.
The book also has some very timely features (not covered in competing titles) including:
- Mentions of CSS transforms where they are a good alternative to JavaScript
- Responsive design techniques
- Using JavaScript to serve images for Retina displays.
Along the way, the book includes many pro-tips to attract the attention of people who already know a bit of JavaScript and make them feel like they are still learning something new.
Synopsis
Learn How To
Read and write JavaScript
Make your sites more interactive
Use jQuery to simplify your code
Recreate popular web techniques
Techniques Include
Slideshows and lightboxes
Improved forms and validation
Using Ajax, APIs, and JSON Filtering, searching, and sorting
Online Support
Code samples and practical exercises available online at: www.javascriptbook.com
Plus bonus reference materials
Welcome to a nicer way to learn JavaScript & jQuery.
Are you new to JavaScript, or have you added scripts to your web page but want a better idea of how they work? Then this book is for you. We'll not only show you how to read and write JavaScript, but we'll also teach you the basics of computer programming in a simple, visual way. All you need is an understanding of HTML and CSS.
This book will teach you how to make your websites more interactive, engaging, and usable. It does this by combining programming theory with examples that demonstrate how JavaScript and jQuery are used on popular sites. In no time at all you will be able to think and code like a programmer.
From the author of the best-selling HTML & CSS: Design and Build Websites www.htmlandcssbook.com
About the Author
JON DUCKETT has been designing and building websites for over 15 years. He has worked with small startups and global brands, and has written more than a dozen books on web design and programming.
Table of Contents
Introduction 1Chapter 1: The ABC of Programming 11
Chapter 2: Basic JavaScript Instructions 53
Chapter 3: Functions, Methods & Objects 85
Chapter 4: Decisions & Loops 145
Chapter 5: Document Object Model 183
Chapter 6: Events 243
Chapter 7: jQuery 293
Chapter 8: Ajax & JSON 367
Chapter 9: APIs 409
Chapter 10: Error Handling & Debugging 449
Chapter 11: Content Panels 487
Chapter 12: Filtering, Searching & Sorting 527
Chapter 13: Form Enhancement & Validation 567
Index 623