What shuld i do here in hint and video was like this

Tell us what’s happening:

Your code so far


var myname ="luka"; 

Your browser information:

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

Challenge: Declare JavaScript Variables

Link to the challenge:

Hi @luka1 !

I looked at the video and hint and those examples declare a variable and assign a value to it.

I understand how that can be a little confusing because they are doing an extra step.

But you don’t need to assign anything to it.
Just declare it.

Like in this FCC example:

var ourName;

Just replace ourName with myName and the test will pass.

And casing matters. So this is incorrect

1 Like