Reaction Tester

Template: Click this link, and share with mrcodeswildride: new project
Hint: 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.
For recording times, store the current time, expressed as the number of milliseconds since midnight January 1, 1970:
yourVariable =
Last section Next section