Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Learn

If variables can hold strings, can they hold other data types? Let's give it a shot:

var myAge = 15; var likesChocolate = true; console.log(myAge); // Output: 15 console.log(likesChocolate); // Output: true

Variables can hold any data type, like strings, numbers, and Booleans. They can also hold data types that we have not learned yet, like arrays, functions and objects (more on that later).

Report a Bug
If you see a bug or any other issue with this page, please report it here.