Midwest Pumpkins is an open-source project developed by the OpenCode Chicago community. Built with Vite, HTML, CSS, and JavaScript, this project aims to support a local organization while participating in Hacktoberfest 2024. We welcome contributions from the community to help us make a difference!
Implement a notification system for the following modal windows: “Buy Now,” “Subscribe,” and “Leave a Review.” The notifications should inform users of successful actions upon form submission.
User Notifications
For each modal, add notifications that trigger when the user clicks the submit button. These notifications will confirm the action taken:
Buy Now Modal: Notify the user with a message like "Your order has been successfully placed!" upon submission.
Subscribe Modal: Notify the user with a message like "Thank you for subscribing! Stay tuned for updates!"
Leave a Review Modal: Notify the user with a message like "Thank you for your review! We appreciate your feedback!"
Implementation Steps
Choose a JavaScript notification library (e.g., SweetAlert, Noty, or Toastr) to handle notifications.
Ensure each notification appears clearly and is styled to match the overall design of the website.
Test the notifications for responsiveness and visibility across different devices and browsers.