02: Comments

A comment is a way for you to write down notes that the computer ignores. These notes are meant to be something for other people to read when trying to understand your code. JavaScript has two main ways that you write comments, and this code shows you how to do that.

The Code

{{ ork.js() }}

As with Exercise 1, you should type this code in and try to make your file match my file as exactly as you possibly can. Try to focus on the details, and get all the details right before you move on. You should also, as as I've said before, do this in small chunks, and modify the file when you're done to try other things. For example, can you comment out this entire file?

Learn JavaScript Today

Register today for the Beginner Basics course and get the new releases by just paying the difference. There's also special discounts for existing customers when new courses are released.

Still Not Sure? Check out more curriculum!