Declare JavaScript Variables (need help)

Tell us what’s happening:

It says You should declare myName with the var keyword, ending with a semicolon and I have and it’s not working

Your code so far

// Example
var ourName;
var Mark;
// Declare myName below this line
var Mark;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36.

Link to the challenge:

You are declaring a variable named Mark twice. You are not declaring a variable named myName.

1 Like

Thank you I figured that out just after I posted this lol

1 Like

Congratulations on figuring it out! Happy coding.

1 Like