Help me check these out

Tell us what’s happening:

Your code so far

var myName = "MrName";

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Declare JavaScript Variables

Link to the challenge:

The challenge:
You should declare myName with the var keyword, ending with a semicolon

I know it’s not very obvious, but it means that it does not want you to assign the variable a value - just declare it. Try to replicate the example from the text, but with the correct variable name:
var ourName;

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.