JS Form Validation

Solution retrospective
Do people usually use external JS libraries for email validation, or use regex manually like: const validateEmail = (email) => { var re = /\S+@\S+.\S+/; return re.test(email); };
I mean for a simple landing page like this.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Yoseph Winata'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