What can i do to make a semicolon when i create a variable?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

var ourName =`freecodecamp`;

Your browser information:

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

Challenge: Declare JavaScript Variables

Link to the challenge:

Welcome to the Forums :wave:

I am not sure with your question What can i do to make a semicolon when i create a variable?

But for this challenge you have to declare a var named myName and there should be no value assigned to it.

i do exactly like in the lesson , but is not working . is asking me for a semcolon after i write the code and i really do not know where is the because i followed the step’s exactly

Look at the code:

  • The name of the variable should be myName.
  • There is an extra =freecodecamp, look at the example given in the instructions, you have to do the variable in a similar but it should be myName instead if ourName

declare a var named myName

Hi @AndreiBuhaescu ,
The challenge is asking you just to create a variable called myName using var.
No need of initializing with a value.

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