Reaction Tester

Template: Click this link, fork, and invite mrcodeswildride: new project

Hints

If you're having trouble, look at exercise set 5.
For calculating the reaction time, do NOT set an interval. Instead, record when the page changes color, and record when the user clicks the button. Then do some math to calculate the reaction time. Use the Date.now method to get the current time.
Last section Next section