Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Even though I am 99% sure I have the correct formatting for my tags, per the instructions, the tester is telling me this:

Test: Sorry, your code does not pass. Don’t give up.
Hint: Your main element’s closing tag should be below the p element. You have them in the wrong order.

Your code so far


<!-- User Editable Region -->

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 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:

This is the wrong text for the p element. Your browser might be loading an older version of this step. Hold down the Shift key and click the browser’s reload button to force the cache to update. The text in the p element should be See more cat photos in our gallery..

Your opening and closing main tags are in the correct place.

Thanks. Will try this and mark this as the solution if it works.

So, I just had to go back and copy the text from the previous lesson to get it to work, but it did work. Thank you again.

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