Need help on #7


Can anyone help me with this one? Can't understand where I'm going wrong:

var main = function() {



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

$(document). ready(main);

7.the o short-cut,

Hi Andrew,

You've forgotten to close main with a closing curly brace (}) on the next to last line.

Next time, please include a link to the exercise and the error message you're getting so it's easier for us to find the problem :