Lesson 17. Introducing JavaScript

JavaScript is a programming language that’s used to turn web pages into applications. JavaScript is used to manipulate the contents of a web page and 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 jQuery,” I discuss jQuery, a library that makes it much simpler to work with JavaScript, and then in the following lesson, “JavaScript Examples,” I’ll walk you through some real world examples. In this lesson, you learn about the basics of JavaScript by exploring the following topics:

What JavaScript is

Why you would want to use ...

Get Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day, Covering HTML5, CSS3, and jQuery, 7th 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.