A simple yet stylish Digital Clock built with JavaScript, HTML, and CSS.
This project is perfect for beginners who want to practice DOM manipulation, date & time functions, and front-end design.
- Live Digital Clock with real-time updates.
- Supports 12-hour (AM/PM) and 24-hour formats.
- Displays current date, day, and month.
- Responsive design — works on desktop & mobile.
- Beginner-friendly code, easy to customize.
Digital-Clock/
│── index.html # HTML structure
│── style.css # CSS styling
│── script.js # JavaScript logic
- HTML → for structure
- CSS → for styling (responsive + effects)
- JavaScript → for clock functionality
-
Clone this repository:
git clone https://github.com/yourusername/digital-clock.git
-
Open the folder in VS Code (or any code editor).
-
Run
index.html
with Live Server (or open directly in browser).
digital clock javascript
, javascript tutorial
, html
, javascript
,
web design
, javascript digital clock
, create digital clock using javascript
,
javascript working clock
, digital clock html css javascript
,
ui design
, css effects
Want to improve this project?
- Fork the repo
- Make your changes
- Submit a pull request 🚀
This project is licensed under the MIT License.