Skip to content

9Yogesh9/Stopwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stopwatch

Stopwatch | Vanilla JS (HTML, CSS, JS, Bootstrap) Preview

Simple Stopwatch implemented with bootstrap, js, html and css

Three buttons :

  1. Start - will start stopwatch timer
  2. Stop - will hold the current timer ( Pause )
  3. Reset - will clear the timer and you can start from fresh

The Date() object provided by js is used to get the current time. Every time you create a specific event and then calculating the difference we are separating the different time elements (hour, minute, second, milisecond).

Want to see it working ? Click here !