Hour 1. Introducing JavaScript
What You’ll Learn in This Hour
• About server-side and client-side programming
• How JavaScript can improve your web pages
• The history of JavaScript
• The basics of the Document Object Model (DOM)
• What the window and document objects are
• How to add content to your web page using JavaScript
• How to alert the user with a dialog box
The modern Web has little to do with its original, text-only ancestor. Modern web pages can involve audio, video, animated graphics, interactive navigation, and much more—and more often than not, JavaScript plays a big part in making it all possible.
In this first hour we describe what JavaScript is, briefly review the language’s origins, and consider the kinds of things it can ...
Get Sams Teach Yourself JavaScript™ in 24 Hours, Fifth 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.