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

Newsletter sign-up with success message

WB52•190
@WB52
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 enjoyed working with Javascript more and learn more with every challenge I complete.

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

Had some trouble with the input invalidation part of the input and the error state, as in changing the changing colours of input field and adding the “Valid email required” text when non valid text is entered. With some research I discovered some Pseudo-classes that were new to me and could do this through CSS.

Still not sure if it should show an error state when the page first loads? but it works and when disappears when typing starts in the input field.

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

Any feedback and pointers welcome, thanks...

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 WB52'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