Help to this problem

Tell us what’s happening:
it says u should declare myname with var keyword, ending with semicolon but its not working

Your code so far


var myname;


// Declare myName below this line
var myname = "epitome";

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/declare-javascript-variables

First, reset the exercise. You have changed first line.

Then, the next line should be myName.

Third, don’t assign anything to myName variable.

1 Like