Something wrong with 27


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

var myColor="Red"

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!


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


Maybe try writing:

var myColour = "Red"


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