Sujal-2820 / Stopwatch

Code files for stopwatch interface for Hacktoberfest
https://sujal-2820.github.io/Stopwatch/
MIT License
0 stars 3 forks source link

Added a feature of Disabling the Start button after one Click in JS file #11

Closed Aadarsh-Mourya closed 8 months ago

Aadarsh-Mourya commented 8 months ago

In this updated code, the "start" button is disabled when clicked, and it is re-enabled only when the "reset" button is clicked. The "reset" button is disabled when clicked and re-enabled only when the "start" button is clicked. This ensures that the "start" button can be clicked only once until the "reset" button is clicked.