Learn Accessibility by Building a Quiz - Step 30

Here is the link to the challenge:

The step requires one to link a label to its input element, and the hint makes it clear this should be done with a ‘for’ attribute that matches the ‘id’ element.

I see the edit. Thank you for that; I never realised the id was missing. While we’re on the subject, could you please briefly explain what the id element actually does and why it’s necessary to include it here? I can see that it’s not optional (and that’s probably where I messed up) but I’m not sure what it signals to the [compiler?].

Please post a link to the challenge. Also, please describe what help you need in your own words. We cannot write the answer for you, because that is against the rules.

Edit - thanks for adding more information. I don’t see an id as part of your input element.

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