O'Reilly logo

JavaScript: Novice to Ninja, 2nd Edition by Darren Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required