Learn HTML by Building a Cat Photo App - Step 5

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

Your code so far


<!-- 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 (X11; CrOS x86_64 14541.0.0) 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:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

Well it saying ( Your (main) element’s closing tag should be below the (p) element. You have them in the wrong order.) and i don’t under stand what it means??

You added a h1 and a p element. You should not add any new elements, but you need to place the main tags around the existing elements the challenge gives you. The <main> is put above the h1 and your closing main tag </main> comes after the p element. You need to remove the elements you added

but in step 5 the instructions say Identify the main section of this page by adding a opening tag before the h1 element, and a closing tag after the p element.

Right. Does it say anywhere to add a h1 element and a p element? Because thats what you did. Your code should still have a p and h1 element, but it should not have the elements you added because the challenge already gives you those elements.

You just need to add the opening main before the h1 and closing main after the p element. The elements that the challenge already gave you

oh i see i under stand

1 Like

thanks so much that helped

1 Like

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