Learn HTML by Building a Cat Photo App - Step 1

Tell us what’s happening:
Describe your issue in detail here

I am at the step 5 and I put

as my code but it is not accepting. It always says that " Your main element’s closing tag should be below the p element. You have them in the wrong order." I have tried putting main elements closing below the p element but it still says the same thing.
what should I do?

Your code so far


<!-- User Editable Region -->


<!-- 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 1

Link to the challenge:

Find the h1 element and change its text to:


You shouldn’t change the h1 tags, only the text content inside them.
That said, you’ve given a link and code for Step 1, not Step 5.

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