Lesson 14. Introducing JavaScript

JavaScript is a scripting language that’s used to turn web pages into applications. Like Cascading Style Sheets (CSS), JavaScript can be incorporated into web pages in a number of ways. JavaScript is used to manipulate the contents of a web page or to allow users to interact with web pages without reloading the page.

This is the first of three lessons in a row on JavaScript. In this lesson, I explain how JavaScript works and how to use it in your pages. In the next lesson, “Using JavaScript in Your Pages,” I walk you through some real-world examples, and then in the following lesson, “Using JavaScript Libraries,” I introduce some third-party libraries that you can use to make your life as a JavaScript programmer ...

Get Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth 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.