Learn HTML by Building a Cat Photo App - Step 5

Hello, it keeps telling me that my main element’s closing tag should be below the p element. I don’t how to go about this.


<!-- User Editable Region -->

    <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/117.0.2045.43

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

Hello @ujuaneke23 !

If you notice when the step is fresh there is a space above the code and a space below it. This is where to place the opening and closing main element tags.
Remember the closing element should have the / before the element name in the angle brackets to show it is closing.

I suggest resetting the step and placing the tags where you see the blank space above for the opening tag, and the blank space below all p element with See more cat photos in our gallery.

I hope this helps you.

1 Like