Having trouble with <p> elements when building technical documentation page

Here is my HTML right here. I keep getting an error message whenever I try to put in the

tags. I put at least 10

tags like it asked me, but it gives giving me the error message.

A big part of web dev is learning to pay very close attention to details. The error message you have says:

There are not at least 10 <p> elements throughout all of the elements with the class of ‘main-section’ : expected 0 to be at least 10
AssertionError: There are not at least 10 <p> elements throughout all of the elements with the class of ‘main-section’ : expected 0 to be at least 10

When I look at your code, I see, for example:

<section class = "main-section" id = "what_is_sass?">
  <header>What is Sass?</header>
  Sass is a front-end framework that facilitates the making of CSS files
</section>
<p>Sass makes the process of creating CSS files easier</p>
<p>Sass saves developers precious time when creating webpages</p>

If you notice, those p tags are outside the class main-section. The test is explicitly telling you that they need to be inside those section tags.

1 Like

Would I put it in the section tag or somewhere else? I tried to put it in the section tag and I passed even fewer tests.

It looks like you may need to format the sections better. Make sure your tags are ending properly with the correct content in between them.

Yes, they are supposed to be inside the sections. That is the purpose of the section elements.