Using .keydown()


#1
$(document).ready(function(){
    $('img').keydown(function(key){});
    });

Not completed lesson !! except where the error?


#2

Hi Glinkap,

You should be listening for keydown on document instead of 'img' :slightly_smiling:


#4

I am too having same error.. plz brief it more clearly...


#5

@textblaster98478 Please create a new topic with your code, the error message you're getting, and a link to the exercise you're having trouble on, and someone will help you over there :slightly_smiling: