-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Labels
Description
📝 Description
We need a simple stopwatch app that allows users to start, stop, and reset a timer to track elapsed time.
This project helps practice timing functions, DOM manipulation, and event handling in JavaScript.
🎯 Requirements
- Ability to start the timer
- Ability to pause/stop the timer
- Ability to reset the timer back to zero
- Display elapsed time in minutes, seconds, and milliseconds
💡 Concepts to Demonstrate
- Using
setInterval()andclearInterval()for timing control - DOM manipulation to update the displayed time dynamically
- Event handling for Start, Stop, and Reset buttons
- Time calculation and formatting for readability
🚀 Bonus Challenge
- Add a Lap feature to record and display multiple time splits
- Include animations or sound cues when starting/stopping the timer
- Store lap history temporarily using localStorage
📦 Deliverables
- A working example using HTML, CSS, and JavaScript
- Include a short README or inline comments explaining how your code works
- Submit your solution as:
- A pull request in the
examples/folder, or - A CodePen, JSFiddle, or GitHub Gist link
- A pull request in the