nftc
nftc copied to clipboard
feat: Add Success Message to Newsletter Subscription
Summary: This PR adds a success message to the newsletter subscription form to improve user experience. After submitting their email, users will see a success message indicating that their subscription was successful.
Changes Made:
- Added a hidden success message (
<div id="successMessage">) to the form. - Used JavaScript to handle form submission, hide the original form elements, and display the success message.
- Styled the success message with a light green background and dark green text for clarity.
Testing:
- Verified responsiveness across different screen sizes.
- Ensured proper rendering of the success message after form submission.
Related Issue: Closes #8