(Declare )JavaScript Variables

(Declare )JavaScript Variables
0.0 0

#1

I have got this code and it tell me it’s wrong please can you help me?

Your code so far

// Example
var ourName = "Rafael";


// Define myName below this line

Your browser information:

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

Link to the challenge:


#2

The instructions are to declare myName. You have not done that.


#3

I write var my Nme = “Rafael”; right??


#4

Try it out. Be careful of typos.


#5

I try var my Name = “Klaudia”

Here i write my name right??


#6

Variable names can not have spaces in them.


#7

The instructions tell you exactly what to call your variable. Anything that doesn’t match it will fail the tests. As Randell said, you cannot have spaces in variable names.


#8

ok you help me very much i dii it thank you you are amazing