Oops, try it again... Problem with "Adding an Event Handler" lesson


I’m sick of truing passing this task.

The script is working, but i have this warning “Oops, try again. Please follow the instructions on the Full Preview page to test your code.”

Also I tried to use on()

    $(document).on('click', 'div', function() {

but it’s giving the same error

What is the cause of this problem?


When submitting the code, does the preview window go full screen? You should cilck the div to make it go away, then wait before making the preview window small again.


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