Skip to content

csark0812/countdown-timer

 
 

Repository files navigation

Create a timer that can be started and stopped

This repository is the companion to the reactpractice.dev exercise to create a countdown timer. Check out the blog post for more details.

Create a 5 minute countdown timer that can be started and stopped.

  • When the page is first loaded, the counter displays 5 minutes (i.e. 5:00)
  • When the user clicks "Start", the counter starts counting down.
  • When the user clicks "Stop", the timer should start elapsing time.
  • When the user clicks "Reset", the timer should be reset to 5 minutes again

Use React with Typescript to build you solution.

Getting started with this repo

  • Run npm install before you get started.
  • Add your code to the src/countdown-timer.tsx file.
  • Run the app with npm start

About

Create a 5 minute countdown timer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.1%
  • JavaScript 27.7%
  • HTML 10.2%