Skip to content

Instantly share code, notes, and snippets.

@jordangarcia
Created April 3, 2020 21:24
Show Gist options
  • Save jordangarcia/2b377e4180eb65cd415827aaeaa2e6d7 to your computer and use it in GitHub Desktop.
Save jordangarcia/2b377e4180eb65cd415827aaeaa2e6d7 to your computer and use it in GitHub Desktop.

Timer Challenge

Create a timer that counts upwards. Starting at 00:00 and counts up every second.

There should be two buttons when the timer is first rendered

MOCK

00:00

[Start] [Stop]

Additional features

  • When you press the stop button (after the timer has been started). It should replace the stop button with a reset button
  • when the timer is started it should disable the start button
  • Once the seconds portion reaches 60, it should show 1:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment