A spooky web application that counts down to the next Friday the 13th and provides a surprise when it arrives!
- Displays the current date and the next upcoming Friday the 13th
- Countdown timer showing days, hours, minutes, and seconds until the next Friday the 13th
- Special surprise effect when it's Friday the 13th
- Dark mode toggle for a spookier experience
- Share button to easily share the countdown with friends
- Responsive design with a creepy theme
- Persistent dark mode preference using local storage
- HTML5
- CSS3
- JavaScript (ES6+)
- Web Share API (with fallback for unsupported browsers)
- Local Storage API
Visit the deployed site: https://spooky-friday-13th-countdown.vercel.app/
or
- Clone this repository
- Open
index.html
in your web browser - Watch the countdown and wait for the spooky surprise!
- Toggle dark mode for a different visual experience
- Share the countdown with friends using the share button
The application features a dark mode toggle that allows users to switch between light and dark themes. The chosen preference is saved in the browser's local storage, ensuring it persists across sessions.
Users can easily share the countdown using the share button. On supported browsers, this will use the native sharing capabilities of the device. For unsupported browsers, a fallback mechanism is provided.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.