Declare JavaScript Variables help needed

Tell us what’s happening:

Your code so far


// Example
var ourName;

// Declare myName below this line
var myName = "Rafael";

Your browser information:

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

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

I changed my name into something else but it doesn’t work

Help me please

You just got ahead of yourself. Your syntax is proper Javascript but the test was to only declare a variable myName, not to assign it a value.

1 Like

not really but if fixed it thanks