Learn Accessibility by Building a Quiz: Step 26

Step 26

Within the second section element, add two div elements with a class of question-block.

Then, within each div.question-block element, add one p element with text of incrementing numbers, starting at 1, and one fieldset element with a class of question.

Keep getting this hint: Hint

You should give the first p element text of 1.

What am i missing?

My code:

        <section role="region" aria-labelledby="html-questions">
          <h2 id="html-questions">HTML</h2>
<div class="question-block">
<p > 1</p>
<fieldset class="question">
  </fieldset>
  </div>
  <div class="question-block">
    <p> 2 </p>
    <fieldset class="question">
      </fieldset>
    </div>
        </section>```

hi :smile:

<p > 1</p>

try to change it for <p>1</p>
and also in second p remove any extra spaces

1 Like

Thanks

i wish the hints were a bit more specific. I could plainly see the 1 displayed. So, i wasn’t even thinking that it needed to be closer.

1 Like

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