Build a Cat Photo App - Step 5

Tell us what’s happening:

I’m on the main element. I followed the hint placing it (main) just under the and added an

heading and a

paragraph per instruction, and then wrapped it with a closing main element.

It keeps saying “Your main element’s closing tag should be below the p element. You have the wrong order.”

Except I did do that.

I don’t know what I’m doing wrong.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

   <main>
    <h1>Most important 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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 5

Welcome to the forum @broccoli.nft

Your code includes elements from the example.

Please remove the extra code beween the main tags.

Then, place the closing main tag below the paragraph element.

Happy coding