-
-
Notifications
You must be signed in to change notification settings - Fork 636
Open
Description
Hi everyone,
I noticed that the Mailchimp subscribe button wasn't doing anything when clicked — there was no submission, no feedback, and no redirection. Here's what I did to fix and improve it:
🛠 What was happening:
The button had no effect when clicked — no action was triggered.
✅ What was fixed and improved:
- Fixed the click handler so the button now submits properly.
- Replaced full-page redirection with a fetch() request to Mailchimp.
- Added a brief success message for user feedback, improving UX.
🎥 Demo:
https://i.imgur.com/41lSHXP.gif
I wasn’t sure if this is the ideal place to share this, but I thought it could help others.
If you find this valuable, I’d be happy to open a pull request.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels