O'Reilly logo

HTML5 Programming with JavaScript For Dummies by John Paul Mueller

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

Chapter 3

Integrating HTML5 and JavaScript

In This Chapter

arrow Performing simple output tasks

arrow Understanding the format of JavaScript statements

arrow Creating JavaScript comments to document your code

arrow Alerting users to the need to turn on JavaScript support

The previous two chapters introduce you to JavaScript and the tools needed to work with it, but they don’t really discuss JavaScript as a language. Now that you have a better idea of what JavaScript can do, how you can interact with it, and why you want to use it, it’s time to start working with the language. This chapter provides you with some introductory information about JavaScript that you need in order to begin working with the language in earnest. These introductory topics make it possible for you to perform tasks such as creating output with your JavaScript applications so that you can see the result of the code you create.

Part of working with JavaScript is understanding how JavaScript statements work. A statement is simply a request for the JavaScript interpreter to do something. It’s a command. You tell JavaScript what to do ...

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