Learning Accessibility by Building a Quiz, step 37,

I am not sure what I am doing wrong, The error message says that I should give the label element a for attribute. I swore that I had put that in. Could someone look at the code that I have so far, and see if there was something that I forgot in the HTML?

Are you a frontend developer?

we can’t see the code
But in terms of using “for” with “inputs” and “labels”. they go as follow
< div >
< label for=“xyz”> name: < / label >
< input id=“xyz” > < / input >
< / div >

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.