Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

Newsletter sign-up form with success message

accessibility
Gustavo Gutiérrez•530
@gustavo2023
A solution to the Newsletter sign-up form with success message challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm proud of the solution I came up with to handle the form submit and the way I used to display the success message and the error message.

What challenges did you encounter, and how did you overcome them?

The only kind of challenge I had was on how to display the success message correctly. At first, I used a <dialog> HTML tag to display the modal when the user correctly tries to submit a valid email. However, because of the way the success message had to display on different screen sizes, I decided to use a regular <div> element since it was easier for me to give it the behavior I wanted.

What specific areas of your project would you like help with?

Any feedback on how to improve the accessibility or suggestions to make the success message look better on mobile screen sizes. Also, if there are any errors that I may have overlooked or ways to improve the functionality.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Gustavo Gutiérrez's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License