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!
If variables can hold strings, can they hold other data types? Let's give it a shot:
var myAge = 15;
var likesChocolate = true;
// Output: 15
// 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).