Chapter 1

Getting Started with JavaScript

In This Chapter

arrow Adding JavaScript code to your pages

arrow Setting up your environment for JavaScript

arrow Creating variables

arrow Inputting and outputting with modal dialogs

arrow Using concatenation to build text data

arrow Understanding data types

arrow Using string methods and properties

arrow Using conversion functions

Web pages are defined by the HTML code and fleshed out by CSS. But to make them move and breathe, sing, and dance, you need to add a programming language or two. If you thought building web pages was cool, you're going to love what you can do with a little programming. Programming is what makes pages interact with the user. Interactivity is the “new” in “new media” ...

Get HTML5 and CSS3 All-in-One For Dummies, 3rd 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.