Variables - stuck

Tell us what’s happening:
trying the basic javascript and having issue already on setting a variable. you can see my code below and I dont understand why its not working.

Your code so far


var myName = "Simon";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36.

Challenge: Declare JavaScript Variables

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

sorted!!!

just wanted

var myName;

1 Like

the challenge said to declare only a variable , you don’t need to set it