Learn HTML by Building a Cat Photo App - Step 5 I've trief what was suggested im still stuck

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

It keeps saying your main element clsing tag should be below p element you have them on the wrong order please assist

All of your content (the h1, h2, p, etc.) need to me inside the main element. That means the closing tag (</main>) needs to be after all of your main content.

First, make no changes to the existing HTML. I would restart the step to get the original HTML back.

You did put the opening main tag in the correct spot. You just need to put the closing main tag completely after the p element.

Try not to open duplicate posts in the forum about the same step.

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