Skip to content

feat: Add Success Message to Newsletter Form#26

Open
akshay0611 wants to merge 1 commit intocodewithsadee:masterfrom
akshay0611:feature/add-success-message-to-newsletter
Open

feat: Add Success Message to Newsletter Form#26
akshay0611 wants to merge 1 commit intocodewithsadee:masterfrom
akshay0611:feature/add-success-message-to-newsletter

Conversation

@akshay0611
Copy link
Copy Markdown

Summary:
This PR adds a success message to the newsletter form to improve user experience. The message appears dynamically after the user submits their email, providing immediate feedback.

Changes Made:

  • Added a hidden success message (<p> element) below the form.
  • Implemented JavaScript to handle form submission and display the success message.
  • Ensured alignment with existing CSS styles and framework conventions.

Testing:

  • Verified responsiveness across different screen sizes.
  • Ensured proper rendering of the newsletter form and success message.
  • Tested the dynamic behavior of the success message.

Related Issue:
Closes #25

Copy link
Copy Markdown

@codeCraft-Ritik codeCraft-Ritik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good approach using JavaScript to dynamically show the success message

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.

[Enhancement]: Add Success Message to Newsletter Form

2 participants