This forum is now read-only. Please use our new forums! Go to forums
Need help plz!
Error:Oops, try again. It looks like you didn’t print the length myColor to the console!. This is my code:
var myColor= “Red”; console.log(“myColor”.length);
Won’t work plz comment! Ty
Answer 5416849480ff3337950032f8
Answer 543c9737631fe9de08000b3c
0 votes
I have the same problem and I still get the error message after implementing the suggestions.
var MyColor=”blue”; console.log (myColor.lenght);
Oops, try again. It looks like you didn’t print the length myColor to the console!
2 comments
Leon over 9 years
You define a variable MyColor and then you want to print the variable myColor. The Javascript interpreter is ‘case sensitive’ …
SONIA GUEVARA over 9 years
the problem is that you spelled length wrong
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Thx