September 10, 2015 at 7:00 am #207932
In Codepen, put your JS in the JS window. Then if you want to use a library, click the gear icon and select the one you want, like jQuery. That’s probably why it isn’t working. Also just looking at your code, it looks like it still won’t work because you’re not passing the event object to the handler function.