I\'m trying to make a reaction test website just for fun, but I don\'t know how to calculate the time taken between button presses.
I found this var startTime;