We time the gap between your two taps and compare it with 10 seconds. Your score is your average miss across the three rounds, early or late, so 0.00 seconds would be perfect.
Your sense of time isn't a stopwatch. How long a stretch feels can change with how busy your mind is, how alert or tired you are and what you're paying attention to. Counting in your head tends to help, while thinking about something else usually throws people off.
For a different challenge, try a round without counting at all and see how your guess changes. Browser timing adds a few milliseconds of delay from your screen and device, which is tiny next to most misses.