Help for question 26 Javascript?


#1


var myColour = "Green"
console.log(myColour.length)

I am getting an error asking if I have created a a variable called mycolour.
But I thought that was done in the first line?


#2

Instruction:

On line 1, create a variable myColor and give it a string value.

isn't it the instruction?

so it should be myColor


#3

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