Stopwatch | Track it to crack it
Whether to track your study or book reading sessions, fitness tracking, practice for a presentation, or else, a stop watch can be incredibly handy.
- Let you represent the key 'S' to Start / Stop a timer that starts from 00:00:00
- Let pressing the [SPACEBAR] Pause / Resume it.
- Click here to get this week's starting code.
- Convert the keys to clickable buttons.
- Introduce a lap timer.
- Save the elapsed time and split (lap) times.
- How about multiple stop watches to track multiple things?
Recommended Learning:
- millis ()
- long
- keyPressed (), key, keyCode
- saveStrings ()
- Submission of this challenge, just like all of the Weekly Coder’s challenges, is to be within 36 hours after post. And so, here Sunday morning 12:00 LT.