Submitted about 2 years ago
Intro card component - CSS Grid and Flexbox
@ChromeUniverse
Design comparison
SolutionDesign
Solution retrospective
Any tips on best practices for doing basic client-side form validation? Currently, all I'm doing is using JS to check if the input values are blank - and for email, I'm importing validator.js from NPM using the UNPKG CDN.
Community feedback
- @dreyfus92Posted about 2 years ago
You can handle validations with tons of tools, like yup, zod if you're using typescript, react-hook-form, formik. Try to read the docs and look for what fits your needs.
1
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