Skip to content

Add Success Message to Newsletter Form #24

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

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

Conversation

akshay0611
Copy link

Changes:

  • Added a success message that displays after the newsletter form is submitted successfully.
  • The success message is shown below the submit button once the form is submitted.

How to Test:

  1. Open the page containing the newsletter form.
  2. Enter a valid email address and click the "Subscribe" button.
  3. A success message should appear saying "Thank you for subscribing!" below the submit button.

Notes:

  • The success message is initially hidden and displayed using JavaScript after the form submission.
  • This update improves the user experience by confirming the subscription action.

Screenshot after the changes

Screenshot 2025-01-29 at 1 41 38 PM

This PR closes Issue #23

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.

1 participant