Submitted 5 months agoA solution to the Newsletter sign-up form with success message challenge
Article preview component challenge
van-js
@DANY-DURAND

Solution retrospective
What are you most proud of, and what would you do differently next time?
I learned how to style the placeholder text. I also learned about client-side validation with JavaScript and some event handling.
What challenges did you encounter, and how did you overcome them?Getting the regular expression for client-side validation was very difficult since many sources had different ways of doing it. But I later came to know this one:
const emailRegExp = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
function validateEmail(email) {
return emailRegExp.test(email);
}
What specific areas of your project would you like help with?
If you have a better way of designing the function of the dismiss button, let me know.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Dany-Duran NZIGAMASABO'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