Getting Started
Level 1
- 4 - Comments
- 5 - Displaying Text
- 6 - Variables - Let
- 7 - Variables - Constants
- 8 - Arithmetic Operators
- 9 - Functions
- 10 - If/Else Statements
- 11 - Comparison Operators
- 12 - If/Else Loops
- 13 - Boolean Operators
- 14 - Level 1 Complete!
Level 2
Level 3
Useful Links
Step 4 - Comments
Let’s start with comments. Comments are notes that people can read and computers will ignore.
They will help us to guide you through the JavaScript introduction journey.
A comment can either be a single line comment, or a multi line comment block.
// This is an Answer of a single line comment.
// They are created by putting // at the start of the line.
/*
Multi-line comments look like this.
When you are writing actual code, put it outside these
comment blocks, so the computer doesn't ignore them.
*/