Newsletter sign-up form with success message

Design preview for the Newsletter sign-up form with success message coding challenge

Welcome! 👋

Thanks for checking out this front-end coding challenge.

To do this challenge, you need a basic understanding of HTML, CSS and JavaScript.

The challenge

My challenge is to build out this newsletter form and get it looking as close to the design as possible.

Your users should be able to:

  • Add their email and submit the form
  • See a success message with their email after successfully submitting the form
  • See form validation messages if:
    • The field is left empty
    • The email address is not formatted correctly
  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page