How prathamesh612/digital-clock works
Digital Clock is a small browser app that displays the current date and time and highlights the current weekday. Opening the page loads its HTML, JavaScript, and CSS; the script reads the local clock and updates the page once per second. The README documents the layout and responsive behavior; the sampled JavaScript confirms the clock updates and weekday selection. HTML and CSS details are represented at the file level because their contents were not sampled.
Main entry points: script.js Clock updater · index.html Clock page · style.css Page styling
Components 8
Other components
- Visitor
- Clock page
index.html - Clock updater
script.js - Local clock
- Date display
index.html - Time display
index.html - Weekday selector
index.html - Page styling
style.css
Connections 8
- Visitor → Clock page: opens
- Clock page → Clock updater: loads
- Clock page → Page styling: loads
- Clock updater → Local clock: reads time
- Clock updater → Date display: updates
- Clock updater → Time display: updates
- Clock updater → Weekday selector: highlights
- Page styling → Clock page: styles