Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

I have written the main tag in a coorect way but its still displaying it has an error

Your code so far

<html>

<!-- User Editable Region -->


  <body>
    <main>
     <h1> CatPhotoApp</h1>
     <!-- TODO: Add link to cat photos -->
     <p> See more cats in our gallery </p>
    </main>


    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

Hi,
there’s supposed to be a h2 element in your code but it looks like you have removed it.
Reset the step to get your original code and then try adding the main tags.
I hope this helps!

1 Like