11. Get Yourself In


#1

I got "Uncaught SyntaxError: missing ) after argument list" under the console... and I can't move on to the next lesson. When I click Save & Submit I get the error "Oops, try again. Please follow the instructions on the Full Preview page to test your code." despite following every instruction. I can't figure out what's wrong with my code

$(document).ready(function() {
$('div').mouseenter(function() {
$('div').fadeTo('fast', 1);
}};
}};


#2

Here you have 2 curly brackets you need one curly bracket and one bracket, as the normal bracket is closing of this one --> (function()

So this is what you should have -->      });

Your preview box you should open it in full screen, and take your mouse over the div thus testing the code, lesson should let you pass :green_heart:


#3

Thank you! I totally didn't notice the two curly brackets


#4

You're welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion


#5

8 posts were split to a new topic: 11. Get Yourself In


#6