Design comparison
Solution retrospective
This project was really fun but it kinda triggered an impostor syndrome in me LOL. Anyways, I don't really know how to validate the email in this project, I tried using the built-in html email validation but it wouldn't trigger the error message. I am also very tired while finishing this project so I didn't really have the energy to search. How would you validate the email in this project?
Community feedback
- @seanhillwebPosted about 1 year ago
Hey there Kohicha, I saw your question about email validation, and thought I could leave this as a reference: https://stackoverflow.com/questions/46155/how-can-i-validate-an-email-address-in-javascript
Since you are using vanilla Javascript, I think this would be an avenue to explore! In the future, when you are learning a Javascript framework (React, Vue, etc.) there are additional libraries that will make that process much easier!
Marked as helpful0
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