Design comparison
Community feedback
- @CarolGMilanoPosted almost 2 years ago
Hello, everyone.
My "report" is saying : "Form elements must have label". But my input has a label. Someone can help me? Thank you so much. :)
0@JeffreyonPosted almost 2 years ago@CarolGMilano Yeah you added a label, but you omitted the "for" attribute on the label tag. Set this attribute to the "name" of your input element (that being "txtcheckbox")
The problem should go away
0@CarolGMilanoPosted almost 2 years ago@Jeffreyon Thank you so much for the reply. But I've descovered that the report of FrontEnd Mentor doesn't accept empty "labels" when you put the "input" inside them, even not be wrong to do this way. So I've done the usual way, "label" and "input" with "for". But thank you so much for your help. :)
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