What am I doing wrong here? Am I getting the actucal name wrong?

Tell us what’s happening:
Describe your issue in detail here.
I just do not understand what i am doing wrong in the .

Your code so far

var myName = "freeCodeCamp";

Your browser information:

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

Challenge: Declare JavaScript Variables

Link to the challenge:

var ourName;

The challenge wants you to declare but not define the variable.

1 Like

So like var freeCodeCamp;

Hi @nickersonandrea !

Welcome to the forum!

Not quite.

Please read through the directions again. :grinning:

Use the var keyword to create a variable called myName .

They want you to use the var keyword to create a variable of myName.

If you need more help then please look at the example they gave you.

var ourName;

You see how they used the var keyword to declare a variable called ourName?
You need to do the same thing but use the variable called myName.

Hope that makes sense!

So is it like var ourName; freeCampCode

Opps I meant var ourName = “Freecodecamp”

Your answer should only be two words.
The var keyword and myName.

ourName was just the example.
The challenge wants you to use the myName.

freeCodeCamp should not be anywhere in your code.
Remember that you should only be declaring the variable.
Not assigning a value to it.

Hope that is clearer.

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