Dont understand whats wrong


Here's my error message:

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.

Here's my code:

var main=function() {

$(document).keypress(function(event) {
if(event.which=== 111) {


Hi Chris,

  • Line 7, you need to swap your closing parenthesis ()) and closing curly brace (}) around so it looks like this: });
  • Line 14, you need to create a new line there and add a closing curly brace (for main()) between the closing curly brace and parenthesis above it and the $(document).ready(...)

I hope this helps!
Please let me know if you have any questions about something or if you're still having issues with the lesson :)


Thank You sorry it took so long to get back to you