O'Reilly logo

Jump Start JavaScript by Don Nguyen, Ara Pehlivanian

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 1Setting Up

As a JavaScript developer, you’ll be writing code that runs in the browser. And as we walk through the book, you could create an HTML document in which you’d add your JavaScript code, but it will be a little while yet before we tackle a full project, and you’ll want to test things out in the meantime. The best way is to jump right in by opening up your browser’s console and typing the examples in there. All the major browser vendors have a console, and there are instructions below on how to activate it in each. Once you have the console open, you’ll find a prompt next to which you can click and start typing. In most consoles, it looks like an angle bracket: >. In Internet Explorer, the prompt is two angle brackets: >>.

Tip: ...

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