Error Solving #27. Conclusion: Part 1


#1

Can someone kindly assist me in solving the following? I'm quite certain it's correct, yet I'm continuously getting this error message "Oops, try again. It looks like you didn't print the length myColor to the console!" I've tried refreshing multiple times and closing and re-opening the browser. le sighhhh

var myColor = "Green"
console.log = (myColor.length);

#2

Other than the missing semicolon at the end of your first line, I can't see anything wrong.


#3

Hey Ned,

I think it was some sort of glitch on Code Academy's end. My friend logged in from their computer and solved it for me using the same solution! Strange.... Thanks Ned!


#4

The problem is there. You have completely changed the default console.log code with that. You will have to remove the = and then reload/refresh your web browser to restore console.log to normal.


#5

:fearful: I completely overlooked that!

Other than the missing semicolon and the problem with console.log, your code is fine :wink:


#6

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