Add User Experience experiment in HTML
Add User Experience experiment in HTML

The script successfully detects when the space bar is pressed
and released. I have tested the code only in Firefox so far,
but I also included support for older IE (untested).

The code in this prototype uses legacy APIs,
not the new DOM Events Level 3 specification in development at W3C.

Reference:

DOM Events Level 3 (Working Draft, November 2013)
http://www.w3.org/TR/DOM-Level-3-Events/

DOM Events Level 2 (W3C Recommendation, November 2000)
http://www.w3.org/TR/DOM-Level-2-Events/

eric-brechemier/flies-fly