A simple and stylish digital clock built with HTML, CSS, and JavaScript.
View Demo · Report Bug · Request Feature
Digital Clock is a simple and elegant web application that displays the current time in hours, minutes, and seconds. It features a dynamic dark mode toggle and a modern design. This project was created by devHanif as a practice project to improve HTML, CSS, and JavaScript skills.
- Real-time display of the current time
- Dark mode toggle with smooth transition
- Stylish and modern design
- Lightweight and responsive
-
Clone the repository:
git clone https://github.com/devHanif-git/Digital-Clock.git
-
Open the
index.htmlfile in your web browser.
- Click on the moon or sun icon to toggle between light and dark mode.
- The clock will automatically update to display the current time.
- You can customize the styling or add additional functionality according to your needs.
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please create an issue.
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature). - Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/YourFeature). - Open a pull request.
This project is licensed under the MIT License.
Please note that in the "Usage" section, the HTML code provided is just a placeholder. You should replace it with the actual HTML code from your `index.html` file, including the digital clock content.
