Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

how can write the main closing just below the p element.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main>
    <h1>mmost imortant content of the document</h1>
    <p>some more important content...</p>
    </main>
    <h1
    <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/134.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

The main element has both an opening and closing tag. You have inserted the opening tag in the correct place. You now need to insert the closing tage after the p element so all the other elements are inside the main element.

like you did here, but in the place you are told

also you should not add new elements other than the main this step

these should not be added

you should also remove the broken h1 tag before the h1 with CatPhotoApp

Hey Buddy See here how you’ve already used body and html closing tag.

This how you need to use closing main tag after your </p>

Hope You Understand.