27, help


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

var myColor = "red";

what is wrong?



you dont want to make myColor a string so leave it out the " "

when you call a console.log dont use an = just go straight into the brackets


A post was split to a new topic: 17. What's wrong with this? Help me