Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<html>
<!-- User Editable Region -->
<body>
<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
“Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element.”
This means the only tags you want to add is an opening <main> tag and closing </main> tag. You added an opening <h1> tag and opening <p> tag as well. Get rid of those.
Also, the closing </main> tag goes after the p element.
The “main” closing tag should go after all of the tags and text that are supposed to be in that section. Remove the opening tags you added in between the main tags. And move your main closing tag to the end of your code that is supposed to be included in your section.