Chapter 14. Getting Started with JavaScript Programming

What You’ll Learn in This Chapter:

How and why to organize scripts using functions

What objects are and how JavaScript uses them

How JavaScript can respond to events

How and when to use conditional statements and loops

How browsers execute scripts in the proper order

Basic syntax rules for avoiding JavaScript errors

What JSON is and how it can be used

The preceding chapter reminded you of some of the basic uses of JavaScript and how to include JavaScript in your HTML documents. In this chapter, you’ll learn a few more basic JavaScript concepts and script components that you’ll use in just about every bit of JavaScript script you will write. Additionally, you’ll learn about ...

Get HTML, CSS and JavaScript All in One, Sams Teach Yourself: Covering HTML5, CSS3, and jQuery, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.