Javascript Lesson 27


#1

Not sure what I'm doing wrong here.


#2

You need to create a variable. Hint var
Also don't forget to put a semi colon at the end


#3

Hello,
instead of writing just 'myColor = ......', use 'var myColor = .....', this way you're creating a variable. Also, instead of replacing the variable on line one, with a new variable on line two, just write 'console.log(myColor.length)' in line two.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.