Learn accessibility by building a quiz-step 26....getting a "you should give the first 'p' element a text of '1' error

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

    </section>

@WarriorWebWorx can you describe the issue you’re facing in your own words.
also include a link to your challenge so you can be understood better.

I am getting the error "you should give the first ‘p’ element a text of ‘1’ using the above code…I went through the other entries for this question and wasn’t able to figure it out.

Thanks in advance!

you gave it a text of 1,2,3,4, that’s pretty different from 1. Also your closing </p> tag should be lowercase

Thanks for the response…cleaned it up and still get the same

what’s your updated code please?

    <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-block">
          </fieldset>
        </div>

    </section>

can you give the link to the challenge?

you need to remove all the extra spaces and new lines

i’LL BE! THAT DID IT! Really thought I was just making good clean easy to read code…lol!

Thank you and I look forward to learning enough to help in return!

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