Synopses & Reviews
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 will make 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 will include 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
Expert techniques to make your websites more interactive and engaging
In JavaScript and JQuery: Interactive Front-End Development, best-selling author Jon Duckett delivers a fully illustrated guide to making your websites more interactive and your interfaces more interesting and intuitive. In the book, you'll explore basic programming concepts that assume no prior knowledge of programming beyond an ability to create a web page using HTML & CSS.
You'll use core elements of the JavaScript language so you can learn how to write your own scripts from scratch, as well as jQuery, which will allow you to simplify the process of writing scripts (this is introduced half-way through the book once you have a solid understanding of JavaScript).
You'll also learn to recreate techniques you have seen on other web sites such as sliders, content filters, form validation, Ajax content updates, and much more. Each chapter:
- Breaks subjects down into bite-sized chunks with a new topic on each page
- Contains clear descriptions of syntax, each one demonstrated with illustrative code samples
- Uses diagrams and photography to explain complex concepts in a visual way
By the end of the book, not only will you be able to use the thousands of scripts, JavaScript APIs, and jQuery plugins that are freely available on the web - and be able to customize them - you will also be able to create your own scripts from scratch.
Synopsis
Learn JavaScript and jQuery a nicer wayThis full-color book adopts a visual approach to teaching JavaScript & jQuery, showing you how to make web pages more interactive and interfaces more intuitive through the use of inspiring code examples, infographics, and photography. The content assumes no previous programming experience, other than knowing how to create a basic web page in HTML & CSS. You'll learn how to achieve techniques seen on many popular websites (such as adding animation, tabbed panels, content sliders, form validation, interactive galleries, and sorting data)..
- Introduces core programming concepts in JavaScript and jQuery
- Uses clear descriptions, inspiring examples, and easy-to-follow diagrams
- Teaches you how to create scripts from scratch, and understand the thousands of JavaScripts, JavaScript APIs, and jQuery plugins that are available on the web
- Demonstrates the latest practices in progressive enhancement, cross-browser compatibility, and when you may be better off using CSS3
If you're looking to create more enriching web experiences and express your creativity through code, then this is the book for you.
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
Table of Contents
Introduction 1
Chapter 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