B. An Active jQuery Website

As you learn to develop with jQuery, you’ll find that code organization, documentation, and readability should be first and foremost when it comes to putting your websites and web applications together.

This appendix can be your guide to keeping things straight as well as giving you a starting point for any web project you might create with jQuery, HTML5, and CSS.

You’ll also find the information for laying out downloadable code examples available from www.jayblanchard.net.

HTML5 Boilerplate

Two examples are provided: one is really basic and includes the use of the Google CDN, and the other is a fallback in the event the CDN is not available. Here’s the markup for the basic template (Script basic_html5.html):

<!DOCTYPE ...

Get jQuery and jQuery UI: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.