La tecla o


no me funciona este codigo:

var main=function() {


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



Remove the additional }); at the end of your code just before calling the main function. You already closed the function, you don't need an additional one.


@miniapple8888 You're mostly correct, the closing parenthesis ()) should be removed, but the last closing curly brace (}) should stay, to close the main function :slightly_smiling: