In his new book JavaScript & jQuery: Interactive Front-End Web Development, Jon Duckett compares a script to a recipie. "By following the instructions in a recipe, one-by-one in the order set out, cooks can create a dish they have never made before," he writes. "Some scripts are simple and only deal with one individual scenario, like a simple recipe for a basic dish. Other scripts can perform may tasks, like a recipe for a complicated three-course meal."

Duckett goes on to point out that, like cooking, if you are new to programming, there is a lot of new terminology to absorb. In an effort to make a whole lot of information absoption more engaging, the book gives goes into great detail about how JavaScript can be used to make websites more interactive, interesting, and user-friendly in one beautifully designed book. To give you a better idea of just how pretty it is, we put together this first-hand look:


Excerpted with permission from the publisher, Wiley, from JavaScript & JQuery: Interactive Front-End Web Development by Jon Duckett. Copyright © 2014.