An elegant and functional analog clock built with modern web technologies. Perfect for keeping track of time in style with a classic, timeless design.
- Real-Time Display: Shows accurate time synchronized with your system clock
- Elegant Design: Clean and attractive analog clock interface
- Smooth Animation: Fluid movement of hour, minute, and second hands
- Responsive Layout: Works seamlessly on desktop and mobile devices
- Lightweight: Fast loading and minimal resource consumption
Try the live clock here: https://avijit-roy.github.io/Analog-clock/index.html
- HTML: Clock structure and markup (index.html)
- CSS: Styling and visual design (anaclock2.css)
- JavaScript: Real-time functionality and hand movement (anaclock3.js)
├── index.html # Main HTML file
├── anaclock2.css # Stylesheet for clock design
├── anaclock3.js # JavaScript for clock functionality
├── Screenshot789.png # Project screenshot
├── LICENSE # MIT License
└── README.md # This file
No installation required! Visit the live demo link to view the clock immediately.
To run locally:
- Clone the repository
- Open
index.htmlin your web browser - The clock will automatically display the current time
The analog clock uses JavaScript to:
- Fetch the current system time
- Calculate the rotation angles for the hour, minute, and second hands
- Update the display in real-time
- Create smooth, continuous hand movement
Works on all modern browsers including:
- Chrome
- Firefox
- Safari
- Edge
This project is licensed under the MIT License. See the LICENSE file for details.
Avijit Roy
Make the most of your time with our timeless analog clock.