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

Newsletter sign-up form using flexbox

P
Navine 210

@rainSax

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


Some challenges I came across involved finding out how to validate the email address. Some research on stack overflow helped me come across a handy regular expression to take care of this.

Another challenge came when I tried to change the background of the input box to a reddish hue. Interestingly, using .style.backgroundColor made it so the color only flashed for a moment but using .style.background seemed to work as intended. I'm not sure why.

Community feedback

@Tylor0811Coore

Posted

Make it responsive my friend :)

I just used a simple regular expression for mine. You could copy mine and see how it looks if you want to.

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