Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

It says “Your main element’s closing tag should be below the p element. You have them in the wrong order.”. I already tried it on VSC, and it runs perfectly fine, did i miss something?

Your code so far

<html>

<!-- User Editable Region -->

  <body>
    <main>
      <h1> Most important content of the document</h1>
      <p>Some more timportant content...</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

Welcome to the forum @genJen

Your main element’s closing tag should be below the p element. You have them in the wrong order.

Place the main closing tag below the last paragraph element.
Then remove the first two paragraph elements, as they are not required.

Happy coding

hi there!
welcome to the forum. you have added extra code to the challenge. it is not asked to add to the challenge. reset your challenge and add main opening and closing tags around existing content between body tags.