Hour 2. Writing Simple Scripts

What You’ll Learn in This Hour:

Image Various ways to include JavaScript in your web pages

Image The basic syntax of JavaScript statements

Image How to declare and use variables

Image Using mathematical operators

Image How to comment your code

Get JavaScript in 24 Hours, Sams Teach Yourself, Sixth Edition 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.