Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

I think ive done the code correctly as shown but it keeps telling me it’s wrong. pls see screenshot.

Your code so far


<!-- User Editable Region -->

  <h1>Most important content of the document</h1>
  <p>Some more important content...</p>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

1 Like

Great work! I wonder if you closed your ‘main’ tag to early. Try moving the closing ‘main’ tag just before the closing ‘body’ tag. Hope it works. Happy coding!

still not working. thanks for your help

This was an example for the challenge you shouldnt have copied this. You need to add the main tags around the h1 and p element that are already in your code

thank you very much. at long last…lol. appreciate it.