The. db click event


#1


https://www.codecademy.com/courses/web-beginner-en-JwhI1/1/1?curriculum_id=50a3fad8c7a770b5fd0007a1


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');      });    });


#2

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


#3

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.


#4

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


#5

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