Nintendo’s Switch 2 drops at 12:01 AM → June 5 2025.
Starter code boots a bare timer—your job is to finish the logic and add launch-day flair.
index.html // page shell +
styles.css // red theme (tweak as you like) script.js // countdown scaffold — TODOs inside assets/ // Switch-2 banner PNG + coin.wav (optional)
Open script.js to see the commented TODO steps.
| # | Feature | Pass criteria |
|---|---|---|
| 1 | Live countdown | Timer updates every second (days : hrs : mins : secs). |
| 2 | Two-digit units | 04 hrs → not 4 hrs padStart() hint included. |
| 3 | Launch state | At zero: text flips to “Switch 2 is out! 🎉” and page style changes (background, confetti, etc.). |
| 4 | Dynamic date | Timer reads data-release on the countdown <div> (no hard-coding in JS). |
| 5 | (Stretch) Sound | Play coin.wav once on launch. |
- Fork & clone this repo.
- Open
index.htmlin your browser +script.jsin your editor. - Follow the numbered TODO comments—implement, save, refresh, repeat.
- Commit early, push when ready, and open a Pull Request.
- Countdown visible & accurate.
- Units padded to two digits.
- Launch message + style swap trigger.
- No uncaught console errors.
- Screenshot added to README.
Happy coding—set your alarms for midnight! 🌟
