Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
226 HTML5 & CSS3 for the Real World Here There be Dragons A word of warning: as you know, the P in API stands for Programming--so there'll be some JavaScript code in the next two chapters. If you're fairly new to JavaScript, don't worry! We'll do our best to walk you through how to use these new features using simple examples with thorough explanations. We'll be assuming you have a sense of the basics, but JavaScript is an enormous topic. To learn more, SitePoint's Simply JavaScript by Kevin Yank and Cameron Adams is an excellent resource for beginners. 1 You may also find the Mozilla Developer Network's JavaScript Guide useful. 2 As with all the JavaScript examples in this book so far, we'll be using the jQuery library in the interests of keeping the examples as short and readable as possible. We want to demonstrate the APIs themselves, not the intricacies of writing cross- browser JavaScript code. Again, any of this code can just as easily be written in plain JavaScript, if that's your preference.