Build a Cat Photo App - Step 5

Tell us what’s happening:

how can bring main element tag below the paragraph

Your code so far

<html>
  <body>

<!-- User Editable Region -->

 <html>
   <main> 
  <h1>Most important content of the document</h1>
   </main>
 <p>Some more important content...</p>
  <!-- TODO: Add link to cat photos -->
  <p>Everyone loves cute cats online!</p>

</html> 

<!-- 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/142.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 5

Please reset this step and try again. The only thing you should be doing in this step is adding the main element.

Just as it explains in the instructions, its opening tag should be placed before the <h1>CatPhotoApp</h1> element and its closing tag should be placed after the <p>Everyone loves cute cats online!</p> element.

Hi Buddy Here you need to pay attention on as there is twice the html element we only need it one time while writing our code.

Here kindly do check it and do remove this html element as on one page we only need one html element

1 Like

thanks boss it work out for me

1 Like