Conclusion part 1

I have been ask to make a variable called ‘myColour’ and give it a string value then print out the length of the colour.
This is my code:

var myColour =“blue”;

It says my syntax is wrong. I don’t see how I am wrong!

I honestly don’t know what lesson you are on. I just finished both React courses and didn’t come across “Conclusion part 1”. But here’s a guess: Have you tried the American spelling (i.e., ‘myColor’ instead of ‘myColour’)?

Also, would you mind telling me where you are in the syllabus? I am wondering if I missed a lesson.

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