I don’t know if anyone elses has ran into this but I do just as the step says to do and hit check your code I get this:
Sorry, your code does not pass. You’re getting there.
Hint
You should place the second label
text content after the input
element.
But the step says to do this: Give the label
elements text such that the input
comes before the text. Then, give the input
elements a value
matching the text.
The text should either be True
or False
.
Now I’m understanding it to mean put either true or false before the input not after.
<label for="q1-a1">
<input type="radio" id="q1-a1" value="true" />
True
</label>
</li>
<li>
<label for="q1-a2">
False
<input type="radio" id="q1-a2" value="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>
<label for="q2-a1">
True
<input type="radio" id="q2-a1" value="true" />
</label>
</li>
<li>
<label for="q2-a2">
False
<input type="radio" id="q2-a2" value="false" />
</label>
</li>
</ul>
```[https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-32](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-32)