A simple Javascript web app for a stopwatch.
- Built from scratch (no external dependencies or web requests whatsoever)
- Javascript classes are disconnected from each other and communication is resolved through callback events for better maintainability
- Responsive layout (mobile, tablet, desktop)
- CSS time display instead of a custom font
- Download a
.jsonfile with the stopped time and laps that contains human readable time strings and the millisecond count to reuse the information - Click on the stopwatch time or the lap time to copy the displayed time to the clipboard
Update 2025:
- Add PWA features (native install, native file sharing, offline mode)
- Add local storage support which saves the state of the stopwatch across browser sessions
Open index.html with a browser.
- Install
inkscapeand run the scriptfavicons/createPngFavicons.sh - Install
magickand run the scriptfavicons/createIcoFavicons.sh
- Favicon (
favicons/favicon.svg): material.io - CSS keyboard keys framework (
keys.css): KEYS.css