-
Notifications
You must be signed in to change notification settings - Fork 184
added live digital clock example #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@dumartins is attempting to deploy a commit to the Suman Kunwar's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new live digital clock example to the repository, implementing issue #318 for Hacktoberfest. The example demonstrates real-time clock display using JavaScript's Date object with a toggle between 12-hour (AM/PM) and 24-hour formats. The implementation includes proper accessibility features, responsive design, and follows the repository's patterns for example projects.
- Creates a complete digital clock example with hour/minute/second display
- Implements format toggling between 12-hour and 24-hour time display
- Includes comprehensive documentation in README.md
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| examples/Live-Digital-Clock/index.html | Main HTML structure with semantic markup and accessibility features (aria-live, aria-pressed) |
| examples/Live-Digital-Clock/styles.css | Responsive styling with card-based design, flexbox layout, and mobile breakpoints |
| examples/Live-Digital-Clock/script.js | Clock logic with Date object, format toggling, and automatic updates via setInterval |
| examples/Live-Digital-Clock/README.md | Project documentation explaining functionality and usage instructions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
sumn2u
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

This PR implements the issue #318 under Hacktoberfest