Chapter 1: Hello, JavaScript

In this chapter, we’re going to introduce the JavaScript language, as well as set up a programming environment. We’ll also get started with some programming and write a couple of programs in JavaScript!

Here’s what this chapter will cover:

  • What is programming?

  • The history of JavaScript

  • The tools that are needed to program in JavaScript

  • Installing Node.js

  • JavaScript in the console

  • Hello, world! Your first JavaScript program

  • JavaScript in the web browser

  • Graceful degradation and progressive enhancement

  • A more complicated JavaScript program

  • Project - we'll start a quiz project that will be developed throughout the book

Programming

Programming is about making computers do what you want. A computer program ...

Get JavaScript: Novice to Ninja, 2nd 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.