O'Reilly logo

Microsoft® Start Here!™ Learn JavaScript by Steve Suehring

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 2. JavaScript Programming Basics

After completing this chapter, you will be able to

  • Know where to place JavaScript in a webpage

  • Understand basic JavaScript syntax

  • Create JavaScript variables and understand common data types

  • Use looping and conditional constructs in your JavaScript code

NOW THAT YOU HAVE A TASTE of what JavaScript can do, it’s time to look at JavaScript’s inner workings. Admittedly, the chapter won’t get too far into the inner workings—just far enough to make you proficient but not overwhelmed. Between this chapter and the next, you’ll have a firm foundation with which you’ll be able to build programs and troubleshoot existing JavaScript programs.

In this chapter, you’ll look at the syntax and rules of the language. This includes ...

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