This project is a LED-style Digital Clock built using HTML, CSS, and JavaScript. It was developed as part of a project at Bangladesh Sweden Polytechnic Institute, Department of Computer Science. The primary objective of this project is not only to create a visually accurate and real-time digital clock but also to explore the concepts of time complexity and space complexity by analyzing the best algorithms behind time rendering.
- Leader: Raihanul Islam (ID: 789144)
- Joynal Abedin Hamim
- Raihanul Alom
- Shudip Barua
Instructor: Amit Hagidak Sir
- Real-time LED-style digital clock display.
- Simple, clean, and responsive UI.
- Accurate time rendering using JavaScript.
- Focus on time & space complexity analysis for efficient updates.
- HTML5 โ Structure of the clock
- CSS3 โ LED-style design and animations
- JavaScript (Vanilla JS) โ Logic for fetching and updating time
We carefully considered time and space complexity while designing the logic:
- Time Complexity: O(1) โ Time updates every second with constant-time operations.
- Space Complexity: O(1) โ Minimal variables used, no extra memory overhead.
This ensures that the clock runs efficiently in real-time without performance issues.
- Clone or download this repository.
- Open the project folder.
- Run
index.htmlin your browser. - The LED-style digital clock will appear and update in real-time.
- Practical experience with HTML, CSS, and JavaScript.
- Understanding of real-time applications.
- Improved knowledge of time & space complexity in algorithm design.
- Team collaboration and project presentation skills.
Bangladesh Sweden Polytechnic Institute Department of Computer Science
We would like to thank our instructor, Amit Hagidak, for his continuous guidance and support throughout the project.
This project is created for academic purposes. Feel free to use, modify, and learn from it.