Please help on 27!


#1

This is my code:
var "myColor"
console.log("myColor".length)
var "myColor" = "blue"

It just says:
SyntaxError: missing variable name

Why can't i name it? How do I?


#2

var myColor = "blue";


#3

Ok Thx! :slightly_smiling: got it working!


#4

Your essentially setting myColor to blue..

So if it was like this:

var myName = "blogrunner91980"

then myName is set equal to blogrunner91980

The syntax is

var yourVariableName = yourValueForYourVariable