Learn HTML by Building a Cat Photo App - Step 5

Hello everyone! I’m very new to free codecamp. I’m getting this error: “ Your main element’s closing tag should be below the p element. You have them in the wrong order.” Can anyone help me? Thanks!

  **Your code so far**
  <h1> <main> <p> </main>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.99.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

You’ve added some extra HTML that wasn’t asked for in the instructions. I would restart the step to get the original HTML back. The only thing you want to add is an opening <main> tag and a closing </main> tag.

1 Like

Got it! Thank you so much this!

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