Ping Coming Soon One Column Landing Page using HTML, CSS and JS

Solution retrospective
Any feedback on how to do the form validation
Please log in to post a comment
Log in with GitHubCommunity feedback
- @nikkuv
First, apply all error styles with a class to the element, then select the element in js DOM and add that class to the element using the email regex function with conditionals. For email validation, you can use this email regex function👇
function validateEmail(email) { const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(String(email).toLowerCase()); }
- @bashiroglu
@SankThomas hi, It really looks good, in order to make it more appealing, you can add some hover effects to button and social icons. Good luck
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