Accessibility by building a Quiz step 35

Can someone give me a hint with this?

Step description:

Step 35
Within the div.question-block elements, nest one label element, and give the label elements text content

          <section role="region" aria-labelledby="css-questions">
          <h2 id="css-questions">CSS</h2>
          <div class="formrow">
            <div class="question-block">
              <label for="" ></label> 
            <div class="answer">
            <div class="question-block">
            <div class="answer">

Sorry, your code does not pass. Hang in there.
You should give the first label element text content.

I think I should write for attribute but don’t understand which text?

1 Like

can you please share the link to this step?

but, no, you don’t need any attribute to pass this step, you just need to give text content as required

have you tried again?

that’s the problem, what text? what content? Can’t pass it.
don’t want to look in p source, that is too easy

you need to give some content to the element
any text you want

:rofl: :rofl: :rofl:
I need a break! I just get it :sweat_smile:
Thank you :slight_smile:

1 Like

You have to put Like this.


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