The. db click event


Oops, try again. Please follow the instructions on the Full Preview page to test your code.
Back to Editor

My code seems to be right. Because I can double click on the object and it fades out. However, I can't pass this exercise because of the above error.

$(document).ready(function() {
    $('div').dblclick(function() {
        $(this).fadeOut('fast');      });    });


when you submit the code, the preview window should go to full size, right?

you need to double click the div to made it fade out


After it brings a full screen. Then I click the blue object it enlarges and fades out but I don't seem seem to pass the exercise.


maybe you hit a glitch? Try refreshing the page/different browser, if the div fadeout, and you press back to editor you should be able to pass


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