Javascript Lesson 27


Not sure what I'm doing wrong here.


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


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.


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