Stuck with step 5, please help!

Tell us what’s happening:
I cannot finish this step and i don’t know how am I supposed to do it. It keeps saying that my main closing tabs need to be bellow the < p >, but I don’t know how to do it, I have already do it and it how I though it would be and it says its incorrect, right is like this:

  **Your code so far**
<html>
<body>
  <h1><main>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p></main>Click here to view more cat photos.</p>
</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:

Hi there !
It seesm you’re placing the inside the h1 element and you need to put it below your h1.

I’ll leave you an example:

Hello World

Hello world again

Hi there

h1
main
h2
p
/main

Hope that helps !

It was that! Since it was only telling me that the main closing tag was wrong I though the main tag was ok, but they were both in the wrong place, I can finally move foward. Thank you!

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