Design comparison
SolutionDesign
Solution retrospective
Couldn't use JavaScript at all as I'm not very good with JavaScript yet.
Is there a way we can validate a form with css ???
Community feedback
- @stephanniegbPosted over 2 years ago
you could do it with htlm attributes like required, you'll add this to the input tag and you could make the input type 'email' or 'password' as the case may be
0@SammydepojPosted over 2 years ago@stephanniegb Thank you. I did that though Im just looking for a way to give it a different style if the user input is invalid.
0
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