Learn Accessibility by Building a Quiz - Step 23

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:

Hi there I edited your post as the code was not placed into a code block properly before and this was preventing the post from
Being formatted properly.

I see the hint is telling you to do something different.

Hint

You should place the span after the text content D.O.B..

Please try to follow this hint.

Try reset the session !!

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