Learn Accessibility by Building a Quiz - Step 32

Tell us what’s happening:
Howdy, can someone help me out, I’m stuck.
Can’t seem to pass , it asking me to write NAME for the INSERT, i did so many different type of versions
Your code so far

        </legend>
              <ul class="answers-list">
                <li><input type="radio" id="q1-a1" name="q1-a1" value="true" checked/>
                    <label for="q1-a1">True</label>
                </li>
                <li>
                    <input type="radio" id="q1-a2" name="q1-a2" value="false" />
                      <label for="q1-a2">False</label>
               </li>
              </ul>
            </fieldset>
          </div>
          <div class="question-block">
            <p>2</p>
            <fieldset class="question" name="html-question-two">
              <legend>
                A label element nesting an input element is required to have a
                for attribute with the same value as the input's id
              </legend>
              <ul class="answers-list">
                <li>
                    <input type="radio" id="q2-a1" name="q2-a1" value="true" checked />
                    <label for="q2-a1">True</label>
                </li>
                <li><input type="radio" id="q2-a2" name="q2-a2" value="false" />
                    <label for="q2-a2">False</label>
                </li>
              </ul>

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 32

Link to the challenge:

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

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