Landing Page + Email Validation using HTML CSS & JS

Solution retrospective
I will really appreciate any feedback and optimization or best practices. Thanks.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @FrancisKhaledKhodja
Hello. Well done with your responsive web page. I like your attempt to submit the email but i think your script doesn't work. According to me you can simplify it. For instance, your validationEmail function can become :
function validationEmail(email) { let regex = new RegExp('[a-z0-9]+@[a-z]+\.[a-z]{2,3}'); return regex.test(email); }
Marked as helpful
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