Posted December 31, 2024Dec 31 Objective Build a countdown timer that counts down to midnight on New Year's Eve. Once the timer hits zero, display a celebratory animation or message. Requirements Timer Functionality: The countdown should accurately show the time left (in days, hours, minutes, and seconds) until midnight on New Year’s Eve. User Timezone: Account for the user’s local timezone to ensure accuracy. Celebration Effect: Display a festive animation or message when the timer hits zero (e.g., fireworks, confetti, or a celebratory sound). Language/Framework: Use any programming language or framework. Bonus points for creating a web-based version using HTML, CSS, and JavaScript. Error Handling: Handle edge cases (e.g., what happens if the timer is accessed after midnight?). Stretch Goals: Allow users to input their own countdown date and time. Include a feature to share the celebration link with friends. Add themed customization (e.g., colors, text styles). Example Interaction Before Midnight: Countdown to New Year's Eve: 00:02:37:15 (Days:Hours:Minutes:Seconds) At Midnight: The screen displays: 🎉 Happy New Year! 🎉 Fireworks animation or confetti rains down. Submission Instructions Share your code and instructions to run it. If web-based, provide a link or screenshot of the celebratory moment.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.