The Event Countdown Timer is a simple yet powerful web application that allows users to create and manage event countdowns. Using HTML, CSS, JavaScript, and Service Workers, this app enables users to input event details, store them locally, and see real-time countdowns for upcoming events. It also features event notifications to alert users 1 day and 1 hour before an event.
- Event Creation: Users can add event details through a form, and the event is stored in local storage.
- Countdown Timer: Each event displays a countdown showing the remaining time until the event.
- Event Notifications: Notifications are sent 1 day and 1 hour before an event occurs.
- Service Worker Integration: Ensures notifications are delivered even when the user is not on the page.
- Local Storage: Stores events persistently, so the data remains visible after page refresh.
-
Frontend:
- HTML/CSS – For structuring and styling the event interface.
- JavaScript – For handling event logic and countdown timers.
- Bootstrap – Used for responsive and attractive form design.
-
Service Workers: To handle notifications even if the user is not actively on the page.
- Browser that supports Service Workers (e.g., Chrome, Firefox).
- Local server setup (optional) for testing Service Worker features.
-
Clone the repository:
git clone https://github.com/AmaedaQ/event-countdown-timer.git cd event-countdown-timer
-
Open the
index.html
file in a web browser to run the app locally. -
You can edit event details through the form, and the countdown for each event will automatically display.
- Add Event: Fill in the event details (name, date, and time) and submit the form.
- View Countdown: The countdown for each event will appear showing the time remaining.
- Event Notifications: Receive notifications 1 day and 1 hour before the event.
- Refresh: Even after a page refresh, your events will remain stored in local storage.
- Event Editing: Allow users to edit the event details after submission.
- Event Deletion: Implemented functionality to delete events from the list.
- Event Reminders: Add more customizable reminder times (e.g., 2 days before, 30 minutes before).
- Bootstrap – For responsive UI design.
- Service Worker API – For managing notifications in the background. `