Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Your main element’s closing tag should be below the p element. You have them in the wrong order.

I don’t understand what this means.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp<main></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/103.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 5

Link to the challenge:

<h1>CatPhotoApp<main></h1>

The starting <main> tag should be after the h1 element, not inside it.

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