<!doctype html> <html> <head> <title>GopherJS DOM example - Detect Keypress (Keyboard Event)</title> </head> <body> <div>Current KeyCode: <span id="foo"></span></div> <script src="demo.js"></script> </body> </html>