An important concept in programming is variables. Variables are used to store values.
The word 'variable' means 'can change'. It is used because variables can store many different types of values and can change their value many times.
A good analogy for the variable is a box. You can imagine the name of the variable as the label on the box, and the value of the variable as what's stored inside it.
Creating a variable in programming terms is called declaring a variable. Let's declare our first variable!
var x = "My first variable!";
var is shorthand for variable. You should read the above statement as "Assign the value "My first variable!" to a (new) variable named x."
So how do we know what value is actually stored in the variable? Simply write a console.log statement as usual:
My first variable!
Yippee! Your first variable! :)