A clean and futuristic digital clock built with HTML, CSS, and JavaScript.
It displays the current time, date, and weekday accurately based on the user's device time.
- Displays hour, minute, second, and AM/PM format.
- Shows date, month, and year in real time.
- Highlights the current weekday.
- Blinking dots/colon animation for a dynamic look.
- Styled with a minimalistic and futuristic theme (Orbitron font).
- Works offline — no API required, time is based on the device clock.
git clone https://github.com/ashk082/digital_clock.git
cd digital-clockSimply open the index.html file in any modern browser:
open index.html
HTML5 – structure
CSS3 – layout, styling, animations
JavaScript (ES6) – live clock functionality
digital-clock/
│
├── index.html # Main HTML file
├── style.css # Styling and animations
├── script.js # JavaScript logic
├── screenshot.png # (optional) project preview
└── README.md # Documentation
Add multiple timezone support (using Intl.DateTimeFormat).
Include dark/light mode toggle.
Add analog clock mode as an alternative view.
