Design comparison
Solution retrospective
Please check my form validation and let me know if there is a better practice. Thank you!
Community feedback
- @mattstuddertPosted about 5 years ago
Great work on this challenge! Your validation code looks good! There are so many ways that it could be done, but your solution is succinct and reusable, which is great.
I've noticed a couple of things in your HTML:
- You currently don't have a
h1
element, which I'd always recommend having. - If you don't have
label
elements to pair up with inputs, be sure to add thearia-label
attribute to eachinput
element so that they are accessible to screen reader users.
Hope that helps, keep up the great work! 👍
1@hhamza1Posted about 5 years ago@mattstuddert Thank you for the feedback and thanks for this great platform. Hope new challenging projects would be coming
0@mattstuddertPosted about 5 years ago@hhamza1 glad you like it! I'm working on some new challenges at the moment and will be adding more next week, so keep an eye out! 🙂
0 - You currently don't have a
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