Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening: The opening p tag should have indentation that matches your h2 and comment elements. Its opening tag should start 6 spaces over from the start of the line.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

    <main><h1>CatPhotoApp</h1><h2>Cat Photos</h2><!-- TODO: Add link to cat photos --><p>See more cat photos in our gallery.</p>   </main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>
    </main>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 6

Link to the challenge:

Yes, you need to indent your p element, so that it is lined up with your h1 and h2 elements.
Also, you seem to have additional h1 and h2 elements, which shouldn’t be there.

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