Where do I put the </main> tag?

Tell us what’s happening:
Where do I put the tag? The thing tells me to put it " below the p element", and that I have it in the wrong order.

  **Your code so far**

<html>
<body>
  <h1><main>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
   <p>Click here to view more cat photos.</p></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/101.0.4951.64 Safari/537.36 Edg/101.0.1210.47

Challenge: Step 5

Link to the challenge:

you are gettiung it just make sure indentations and ‘opening & closing’ of tags are correct!!

btw, welcome to fcc forum :slight_smile:

although in the the step it say adding a <main> opening tag after the h1 element
it means add the opening tag of <main> after the closing tag of <h1>

so your isssue is in this line <h1><main>CatPhotoApp</h1>

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