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 with success message - HTML, CSS & Javascript

W3RKY 70

@xAnDrOm3dAx

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


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

I thought my design was true to the original and I am very proud of the responsive css that was implemented.

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

The most challenging part for me was trying to figure out which components need to be developed seperate from each other, and ho to hide and introduce them once the email was validated.

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

If anything, I would like feedback on my javascript. However, all feedback is welcomed.

Community feedback

P
CJ Cameron 350

@CJCameron13

Posted

Hello! I really like your solution. I don't have specific feedback as much as I have a question. Can you help me understand the "emailRegex" variable in your main Javascript file? Is it being used to check for certain characters, character combinations etc?

const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;

Thank you!

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