Stuck with the 'o' shortcut - Error: doesn't toggle description although it does


Error: Oops, try again. It looks like the o key isn't opening a description. Remember to toggle the current article's description inside the event handler. Look back at the instructions for the code.

var main = function() {
    $('.article').click(function() {
        $(document).keypress(function(event) {
  if(event.which === 111) {



Hi the $(document).keypress(function(event) {..}); shouldn't be inside the $('.article').click(function() {..});.


Thank you very much for your quick reply! Now it works and I can finish my lesson :relaxed:


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