1 GETTING STARTED

In this chapter, you’ll get started writing your first JavaScript code. First, you’ll learn how to enter code directly into a web browser, without having to install any specialized software. This approach is ideal for quickly testing out simple sequences of code. Next, you’ll see how to write JavaScript in a separate text editor program, which is more appropriate as your code becomes more complex. We’ll use both of these techniques for writing and executing JavaScript code throughout the book, so this chapter will prepare you for everything that’s to come.

Using the JavaScript Console

The quickest way to run JavaScript ...

Get JavaScript Crash Course 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.