Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.
according to the step 5 which says to dentify 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. I did everything according to the step but the results are showing everytime that yourmain element’s closing tag should be below the p element even though i have them in right order.

Your code so far

<html>
  <body>
    <main>
  
  
      <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos --> 
  <p>Click here to view more cat photo
  </main>

  
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 5

Link to the challenge:

you accidentally deleted the paragraph’s closing tag.

you can reset and do this step again for more practice.

1 Like

Thank you! I got it right

1 Like

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