Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main><h1></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/122.0.0.0 Safari/537.36 Edg/122.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

Hi, look again at where you have placed your closing tag. It is the whole section that you are asked to identify as “main” here. You don’t have to change anything about the section to do this. Your opening tag comes first, then the whole section of headers, text, whatever it is, and your new closing tag comes last.

It seems to me you have an unnecessary h1 tag between your main starting and closing ones. Try removing it and putting all the h1’s, h2’s and p’s in between them instead, with neat formatting, of course.
Let me know if you do not understand anything!
N

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.