Skip to content

Conversation

akshay0611
Copy link

Changes Introduced:

  • Added a success message (✅ Subscription successful!) that appears when a user subscribes.
  • Implemented JavaScript logic to display the message dynamically.
  • Cleared the email input field after a successful subscription.

How It Works:

  1. When a user enters an email and clicks "Subscribe," a success message appears.
  2. The email field is cleared after submission.
  3. The message is hidden initially and only displays after a valid entry.

Test Instructions:

  1. Enter an email in the input field.
  2. Click "Subscribe."
  3. Verify that the success message appears.
  4. Ensure the email input field is cleared after submission.

Related Issue

Closes [#17 )

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