8.The .keydown() Event


#1


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


It generates Oops, try again.
Please follow the instructions on the Full Preview page to test your code. But also I tried in the preview page.
Anyone help plz..


$(document).ready(function(){
    $(document).keydown(function(){
        $('div').animate({left:"+=10px"},500);
        });
    });


#2

Your jQuery code is fine ..

When it opens to full page click with your mouse and then click your arrow key


#4

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


#5

#7