Tell us what’s happening:
Describe your issue in detail here.
Append a span
element with a class of sr-only
to the current text content of the third label
element.
It appears I’ve done this correctly, however, the code is not going through.
Your code so far
<div class="info">
<label for="birth-date"><span class="sr-only">D.O.B.</span></label>
<input type="date" name="birth-date" id="birth-date" />
</div>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Learn Accessibility by Building a Quiz - Step 23
Link to the challenge: