Build a Cat Photo App - Step 5

Tell us what’s happening:

 <main>  
     <h1>Most important content of the document</h1>
     <p>Some more important content...</p>
 </main>
     <h1>CatPhotoApp</h1>

     <h2>Cat Photos</h2>
     <!-- TODO: Add link to cat photos -->
     <p>Everyone loves cute cats online!</p>

// running tests
5. Your main element’s closing tag should be below the p element. You have them in the wrong order.
// tests completed

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main>
    <h1>Most important content of the document</h1>
    <p>Some more important content...</p>
  </main>
    <h1>CatPhotoApp</h1>
   
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    
    <p>Everyone loves cute cats online!</p>
    

<!-- 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/138.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 5
https://www.freecodecamp.org/learn/full-stack-developer/workshop-cat-photo-app/step-5

Hi @TKD and welcome to the community,

Have you tried moving the main element’s closing tag like the hint suggested?

You can review this video/transcript about the importance of using an HTML boilerplate to get the structure of your projects off to a good start: