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?

80% Discount for Alpha 1

Register today for the early access release and get an 80% discount on the final release price. You'll get true lessons in true modules right now, and early access to content as it's released.


Still Not Sure? Check out more curriculum!