Design comparison
SolutionDesign
Solution retrospective
I would love some best practices to enhance my code
Community feedback
- @mattstuddertPosted almost 5 years ago
Nice work Hamza! My main recommendations would be:
- Add the appropriate HTML5 structural elements. These are great to outline the structure of your page.
- The
label
element should be used to label form fields, as opposed to displaying the error message. So I would add the label to pair with theinput
and then add the error message in either ap
orspan
.
I hope those tips help!
1@kuroyzaPosted almost 5 years ago@mattstuddert Thank you! i'll try your recommendations, and enhance my code :D
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