Free online digital clock with real-time display of hours, minutes, and seconds. Features automatic timezone detection, color-coded time segments, and AM/PM indicator. Easy to read and always accurate.
- Displays current time in hours, minutes, and seconds
- Adjusts to your timezone
- Updates in real-time
- Uses distinct colors for hours, minutes, and seconds
- Displays AM/PM indicator
The project follows a simple organization:
digital-clock/
├── index.html
├── templates/
│ └── assets/
│ ├── css/
│ │ └── style.css
│ ├── img/
│ │ └── favicon.ico
│ └── js/
│ └── app.js
└── README.md
Each file serves a specific purpose:
index.html
: Contains the clock's HTML structure and layoutstyle.css
: Defines the visual appearance and animationsapp.js
: Implements the time calculation and display logicREADME.md
: Contains the documentation of this project
- A modern web browser
- Clone the repository:
git clone https://github.com/casparml/Digital-Clock.git
- Navigate to the project directory:
cd simple-digital-clock
- Open index.html in your web browser to view the clock.
- index.html: The main HTML file that includes the structure of the clock.
- templates/assets/css/style.css: The CSS file that styles the clock.
- templates/assets/js/app.js: The JavaScript file that handles the clock logic.
This project is licensed under the MIT License - see the LICENSE file for details.
- Font: Poppins
- Icons: Favicon Generator