#8 KeyDown I need help


#1

It is not moving to the right i am confused, my code is right but it wont let me past here is screen shot
here is my code first
$(document).ready(function(){
$(document).keydown(function(key){
$('div').animate({left:'+=10px'},500);
});
});

and now here is the sreeen shot


#2

i found what the problem is you have to have your mouse on top of the red box and then type a key.:slightly_smiling: