Learn Accessibility by Building a Quiz - Step 33

code is not working

Your code so far


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.

Replace these two sentences with your copied code.
Please leave the ```<ul class="answers-list">
                  <label for="q1-a1">
                    <input type="radio" id="q1-a1" value="true" name="true"/> True
                  <label for="q1-a2">
                    <input type="radio" id="q1-a2" value="false" name="false"/> False
          <div class="question-block">
            <fieldset class="question" name="html-question-two">
                A label element nesting an input element is required to have a
                for attribute with the same value as the input's id
              <ul class="answers-list">
                  <label for="q2-a1">
                    <input type="radio" id="q2-a1" value="true" name="true"/> True
                  <label for="q2-a2">
                    <input type="radio" id="q2-a2" value="false" name="false"/> False
              </ul> ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 33

Link to the challenge:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

If you click on the radio inputs, you might notice both inputs within the same true/false fieldset can be selected at the same time.

i think i have right wrong grouping but still didn’t approve the code

writing like this

You should give the second input a name attribute matching the name attribute of the first input .

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