Something wrong with 27


#1

Here's exactly what I typed, copy/pasted form the page.

var myColor="Red"
console.log(myColor)

It even shows the word Red in the console. But, for whatever reason, the lesson keeps saying that "It looks like you didn't print the length myColor to the console!" when I clearly did. Help!


#2

You printed the string Red to the console, you should have printed the length (3) to the console, maybe you want to use .length?


#3

Maybe try writing:

var myColour = "Red"
console.log("myColour".length);

#4

You want the length of the string in your variable (myColour), you don't want the length of a string "myColour"