Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.
I’ve tried 100 combinations of this code and don’t understand what the instructions or hints are asking me to do can someone show me the correct answer and how they got it.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main><h1><p></main>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>
    

<!-- 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/100.0.4896.127 Safari/537.36 Edg/100.0.1185.44

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

Link to the challenge:

We can’t write the answers for you, no.

But we can help you fix your code!

This closing main tag needs to come after all of the elements in the editor, not just the opening h1 and p tags. Also, you shouldn’t add any h1 or p elements or tags.

If that doesn’t make sense, please ask more questions!

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