Task: Create an Example Solution for a Live Digital Clock
📝 Description
We need a working example solution for a Live Digital Clock that displays the current time in hours, minutes, and seconds.
The goal is to help beginners understand how to build real-time UI updates using JavaScript.
🎯 Requirements
- Display the current time in hours, minutes, and seconds
- The clock should update automatically every second
- Include a toggle between AM/PM and 24-hour format
- Make the interface responsive and visually clean
💡 Concepts to Demonstrate
- Using the JavaScript
Dateobject - Using
setInterval()for real-time updates - DOM manipulation to display the time
- Formatting time strings properly
🚀 Bonus Challenge
- Add support for different time zones
- Add an optional stopwatch or countdown timer
📦 Deliverables
- A working example using HTML, CSS, and JavaScript
- Include a short explanation (in comments or README) describing how your code works
- Submit your solution as:
- A pull request in the
examples/folder - Or attach a CodePen, JSFiddle, or GitHub Gist link
- A pull request in the
Hey @sumn2u that's a good project, can you assign me the issue so I can work on it ?
I'm interested in this issue can you assign me this issue to me. @sumn2u @Hachondeoro @hamfree @virginus01
I would like to work on this issue, @sumn2u can you assign it to me?
I can work on the issue as well if is assigned to me @sumn2u
I can work on the issue as well if is assigned to me @sumn2u
Hey! Thanks for your interest in this. I’ve assigned it to @dumartins. If you’d like to work on the Example Solution for an Interactive Calendar , just leave a comment on that issue.