Define a variable a with var and initialize it to a value of 9.
And here is what you wrote:
You’ve followed most of the instruction correctly. The only problem is that you have not used the correct name for the variable. Your new variable is called ‘num’ but the instructions say “Define a variable a”
So just fix that and it should work.
It is common to initialize a variable to an initial value in the same line as it is declared.
`var myVar = 0;`
Creates a new variable called myVar and assigns it an initial value of 0 .
is the same as
create a new variable called a and assigns it an initial value of 9 .
so it becomes