Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 970 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 970 Bytes

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!