Skip to content

mannhuynh/timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple timer app using Vanilla JavaScript

Demo:

https://mannhuynh.github.io/timer/

Create a timer app:

  • Event listener to watch for a click on "start" button
  • Draw a full border around the timer
  • Start counting down the timer
  • Each time the timer counts down, update the border
  • Each time the timer counts down, update the text
  • If we counted down and timer reaches 0 -> reset the border
  • Reset internal timer to get ready for another run.

About

A timer app using JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published