Chapter 1

Introducing JavaScript

IN THIS CHAPTER

check Defining JavaScript

check Adding JavaScript to your web pages

check Working with data

check Looking at JavaScript control structures

check Creating JavaScript functions

The previous minibook shows you how to use HTML5 and CSS3 to create some pretty fancy-looking web pages. That’s the first step to creating your dynamic web applications, but there are a few more parts to add. This minibook tackles the next piece you’ll need to add to your web programs: client-side programming.

This chapter focuses on the JavaScript programming language, the most popular client-side programming language in use today. First, I cover the basics of how to add JavaScript code to your web pages. Then I explore some of the basics of the JavaScript language.

Knowing Why You Should Use JavaScript

HTML5 and CSS3 work together to create web pages. The HTML5 code produces the content that appears on the web page, and the CSS3 code helps style it to change the format and location of the ...

Get PHP, MySQL, & JavaScript All-in-One For Dummies now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.