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.
To run the stopwatch, follow these steps:
- Click on the "Start" button to begin the watch.
- The stopwatch will start and continue running until manually stopped.
- Use the appropriate controls to pause, resume, or reset the stopwatch as needed.
To run the countdown timer, follow these steps:
- Enter the desired duration in minutes.
- The input value will be set as the countdown time.
- Once the time is set, the counter will start decreasing until it reaches zero.
- 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!