Problem in Cat Photo App - Step 5

Tell us what’s happening:

But I’m tried the best to continue but there is error, what did happen ?

<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>
Your main element's closing tag should be below the p element. You have them in the wrong order.

Your code so far

<!-- User Editable Region -->
<html>
  <body>
    <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>
  </body>
</html>

<!-- User Editable Region -->

Your browser information:

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

Challenge Information:

Build a Cat Photo App - Step 5

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-cat-photo-app/5dc2385ff86c76b9248c6eb7.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @dieudonneiradukunda1,

It looks like you may have changed the starting code in areas you were not asked to change, which will cause the tests to fail. Please click the reset button to restore the original code and try again.

image

Then try implementing this instruction again:

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.

Put another way, the main opening tag should be just after the body opening tag, and the main closing tag should be just before the body closing tag.

Happy coding