Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main><h1><p></main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
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