Didn't set your div's opacity to 1


I get the above error with the following syntax:

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


Hi David,

$(document).ready(); {

That line needs to look like this instead:

$(document).ready(function() {

You can refer to previous exercises to see how it should look.


A post was split to a new topic: Why does it tell me I'm not setting the div's opacity to 1?