<!doctype html> <html> <head> <meta charset="utf-8"> <title>GopherJS mouseenter/mouseleave Demo</title> <style>#demo{background-color: yellow; width: 10em; height: 10em;}</style> </head> <body> <div id="demo"></div> <div id="info">move your mouse enter and then leave the yellow area.</div> <script src="app.js"></script> </body> </html>