O'Reilly logo

JavaScript in 24 Hours, Sams Teach Yourself, Sixth Edition by Phil Ballard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required