It says I have it in the wrong order, and that the closing tag </main> is not below te <p> element

Tell us what’s happening:
Describe your issue in detail here.

  **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.67 Safari/537.36

Challenge: Step 5

Link to the challenge:

Seems your missing a opening <main>, you have one, but its wrongly nested in your h1

Thankyou very much, the error had me guessing the close tagg of

1 Like

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