Chapter 2

Writing Your First JavaScript Program

In This Chapter

arrow Arranging your development environment

arrow Getting to know JavaScript code

arrow Understanding a simple JavaScript program

arrow Understanding the value of commenting your code

“The secret of getting ahead is getting started.”

— Mark Twain

Simple JavaScript programming isn’t difficult to understand. In this chapter, you go through the process of setting up your computer for writing JavaScript. You also write your first JavaScript program and get to know the basic syntax behind everything you’ll do with JavaScript in your future as a programmer.

ontheweb Don’t forget to visit the website to check out the online exercises relevant to this chapter!

Setting Up Your Development Environment

It’s important to have all of your tools set up and in place before beginning to write your first JavaScript program. We walk you through the process of downloading and installing our favorite JavaScript development tools, which are, coincidentally, the ...

Get Coding with JavaScript For Dummies 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.