This is a simple stopwatch web application built using HTML, CSS, and JavaScript. The stopwatch allows users to start, stop, reset the timer, and record lap times.
- Start: Begin the timer.
- Stop: Pause the timer.
- Reset: Reset the timer to 00:00:00:00 and clear lap times.
- Lap: Record the current time without stopping the timer (works only when the timer is running).
- HTML
- CSS
- JavaScript
Open the index.html file in your web browser. Use the buttons to interact with the stopwatch:
- Click "Start" to begin the timer.
- Click "Stop" to pause the timer.
- Click "Reset" to reset the timer and clear lap records.
- Click "Lap" to record the current time (only works when the timer is running).