Build a Cat Photo App - Step 5

Tell us what’s happening:

i was doing the main element thingy and this is what it always says

// running tests
6. Your main element’s closing tag should be below the p element. You have them in the wrong order.
// tests completed

i don’t understand. i followed the instruction and the example.. can someone help me?

Your code so far

<html>
  <body>

<!-- User Editable Region -->

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

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

Challenge Information:

Build a Cat Photo App - Step 5

Hi there and welcome to the forum!

Why did you add the example code?

Remove it and see what happens

Hi buddy, Here you no need to put any other p or h tag.

Here is the code that is existed in the code editor which is given below.

<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>

So inside this you need to find out which is the main part of this code.

You no need to add any other p or h tag when you do add then it will be easy for you to identify the main element

Hope You Understand…