validate form, if else, regex

Solution retrospective
I would like to know if i built the form correctly and how i think i got way too many variables.
i would like to know a way to shorten the javascript part
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Promerser
your solution is similar to the original, but you need to change some paddings
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