Didn't set your div's opacity to 1


#1

I get the above error with the following syntax:

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

#2

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.


#3

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