Chapter 1
Introducing JavaScript
IN THIS CHAPTER
Defining JavaScript
Adding JavaScript to your web pages
Working with data
Looking at JavaScript control structures
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 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.