24. Variables: Help!


I am looking at 24 on the JavaScript lesson but it won't let me declare a variable, always just saying "Oops, did you declare a variable?"

This is the code:

var MyAge=16;

What am I doing wrong?


Restart your browser. The console doesn't see anything that you typed in "This is usually due to a connection error with the servers" So restarting your browser should fix the problem.


Thanks for the response. I tried this and this time the console showed "16" when I pressed submit but still wouldn't let me continue because "did you attempt to declare a variable?"



Never mind it just worked! Thanks for your help!


Faça var myAge = 16


Observe que o erro está na letra maiúscula .