Design comparison
SolutionDesign
Solution retrospective
Used JS to provide feedback for invalid email fields. The inbuilt js email validator (which uses the html validator) does not check for [email protected]
. Instead it just checks for name@host
. Thus used a custom email validator function rather than just using the inbuilt checkValidity()
function.
Also to use tailwind css classes in JS, we need to add the location of js
file in the content
section of the tailwind.config.js
. Had missed doing this initially
Tried to use semantic html and maintain accessibility for input fields, links and buttons.
Feedback is welcome.
Community feedback
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