Chapter 14. Getting Started with JavaScript Programming

WHAT YOU’LL LEARN IN THIS CHAPTER:

• Organizing scripts using functions

• What objects are and how JavaScript uses them

• How JavaScript can respond to events

• An introduction to conditional statements and loops

• How browsers execute scripts in the proper order

• Syntax rules for avoiding JavaScript errors

• Adding comments to document your JavaScript code

The previous chapter reminded you of what JavaScript is, what JavaScript can do, and had you create a simple script.

In this chapter, you’ll learn a few more basic concepts and script components that you’ll use in just about every script you write. This will prepare you for the remaining chapters of this book, in which you’ll explore ...

Get Sams Teach Yourself HTML, CSS and JavaScript All in One 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.