Chapter 4. Adding Interactivity and Completing Your Site

We have created the first cut of how the site will look. While the site looks pretty readable and navigable, making the interaction smoother would make it a significantly better experience.

Using jQuery

As we saw in Chapter 2, Starting Your Project, HTML5 Boilerplate provides a handy and safe way to load jQuery. With jQuery, it is vastly simple to work on writing scripts to access elements.

If you are writing custom jQuery script either to kick off a plugin you are using or to do some small interaction, put it in the main.js file in the js folder.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset