I don't understand what's wrong with my code


I can't find out what's wrong with my code either

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

Can someone please explain what's wrong here?

O shortcut || What is wrong with my code?

Hi Ramon,

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


Hi zystvan

this is the link:

and the error code:
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.

Thanks for your support


Hi did you have that part at the bottom of yout code?



No i haven't, it did the trick.

Thanks a lot


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