Some problems with ''o'' short cut


#1



Replace this line with your code.


#2

var main = function() {
$('article').click(function() {
$('article').removeClass('current');
$('description').hide();
$(this).addClass('current');
$(this).children('.description').show();
}
});

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

#3

Hi Xojiakbar,

Please post a link to the exercise you're on and the error message you're getting so we can help you.


#4

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