Build a Cat Photo App - Step 5

Tell us what’s happening:

I need help checking my code
They keep telling me my main element’s closing tag should be below the p element , when I check my code I see everything is perfect

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15

Challenge Information:

Build a Cat Photo App - Step 5

hi there… welcome to the forum.

You will need to click the Reset button at this point to restore the original seed code given in this exercise. Once that’s done, you’ll want to add your main tags only without adding anything else around the given content.

Just follow these instructions.

Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element.

This is part of an example of how to use main and you should not include it in your code

It’s just an example. Don’t copy the example code into your code. You need to generalize the example and apply it to your situation.