Learn Accessibility by Building a Quiz - Step 30

Tell us what’s happening:
Hi , please help.
my for atribute in the label ellement is the same as the id atribute in my input element bbut my code still fails.

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

    <label for="no">
                    <input id="no" type="radio" />
                  </label>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 30

Link to the challenge:

You should use the for attribute for the label tag outside the input type radio and the id attribute for the input tag and post the same value.

Like

<label for="b1">
<input type="" id="b1">
</label>

Happy Coding :smiley:

thanks for the reply

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