Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

News letter sign up

@BrandaoA

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


This exercise was not easy for me but i managed to complete. I was not able to change the border color and the background color of the input when the error message appears. Please I will really need some help on how it should be done. Thanks and waiting for your feedbacks and comments.

Community feedback

@monsij-07

Posted

  1. You can change the properties by targeting the Input tag in JavaScript and then changing the value of the properties (i.e., background color and border) when the input value is invalid.
  2. Also, you can show the exact input value of Email on the Success Page Message by targeting the received email using DOM and then changing its textContent in JavaScript.
0

Please log in to post a comment

Log in with GitHub
Discord logo

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