Skip to content

ankit8652/CodeClause_Timer_and_Stopwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code Instructions

This repository contains code for running a countdown timer and a stopwatch. The main class includes two instances: one for the countdown timer and one for the stopwatch. Depending on which one you choose to run, the respective code will be triggered.

Stopwatch

To run the stopwatch, follow these steps:

  1. Click on the "Start" button to begin the watch.
  2. The stopwatch will start and continue running until manually stopped.
  3. Use the appropriate controls to pause, resume, or reset the stopwatch as needed.

Countdown Timer

To run the countdown timer, follow these steps:

  1. Enter the desired duration in minutes.
  2. The input value will be set as the countdown time.
  3. Once the time is set, the counter will start decreasing until it reaches zero.
  4. Use the appropriate controls to pause, resume, or reset the countdown timer as needed.

Feel free to explore the code and customize it according to your requirements.

Happy coding!

Releases

No releases published

Packages

No packages published

Languages