Contact Form

Solution retrospective
I encountered a challenge in checking if the email is valid or not, so I overcame it by creating a function. This function takes a parameter 'e', which represents the email value, and uses a regular expression to match the email against a specific format, returning either true or false.
Please log in to post a comment
Log in with GitHubCommunity feedback
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