Newsletter sign-up form with success message - HTML, CSS & Javascript
Design comparison
Solution retrospective
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
- @CJCameron13Posted 5 months ago
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 GitHubJoin 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