A sleek, responsive, and fully interactive Digital Clock Web App built entirely in HTML, CSS, and JavaScript — no external dependencies required.
This lightweight utility displays the current time in 12-hour or 24-hour format, supports theme customization, and remembers your preferences using localStorage.
- 🕒 Live Time Display — High-precision clock synced to system time
- 🧭 Draggable Clock — Move freely around the viewport
- ⚙️ Settings Menu — Adjust:
- Movement (pause/resume)
- 12h / 24h format
- Font family
- Text color
- Clock size
- Reset position
- 💾 Persistent Settings — Saves your preferences in
localStorage - 🎨 Smooth Transitions — Modern, minimal UI with subtle animation
- ♿ Accessibility-Ready — Includes ARIA roles and keyboard support
- 🧱 Standalone File — Just open the HTML file — no build tools or servers needed
- Download or clone the repository:
git clone https://github.com/mytuxcode/digital-html-clock.git cd digital-clock
Maintainer: @mytuxcode
If this project helps you, consider starring ⭐ the repository!