The o shortcut


#1

$(document).keypress(function(event) {
if(event.which === 111) {
$('.current').children('.description').toggle();
}
});

i don't know where to put this
its difficult to see why its not letting me put it in which line.
and can i have a screenshot of how to do it?


#2

Hi Alena,

That code will go just after the $('.article').click(...); part, but still inside the main function :slight_smile:


#3

ok ill try that :smiley:
thank you