Latest 1. Getting Started (27)...What am I doing wrong?


#1

On line 1, create a variable myColor and give it a string value.
On line 2, print the length of myColor to the console

My code:

var myColor = "Blue";
console.log "myColor". substring (0,3) );


#2

On line 2 it should be:

console.log(myColor.length);

#3

Thank you so much! That worked!