Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Success Message to Newsletter Form #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akshay0611
Copy link

Summary:
This PR adds a success message to the newsletter form to improve user experience. After submitting their email, users will see a success button 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 button with a green background to indicate success.

Testing:

  • Verified responsiveness across different screen sizes.
  • Ensured proper rendering of the success message after form submission.

Related Issue:
Closes #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Add Success Message to Newsletter Form
1 participant