I am doing what is instructed, my code seems okay when I verified it via another website…and yet, freecodecamp tells me it is wrong.
My code:
CatPhotoApp
Cat Photos
**Your code so far**
<html>
<body>
<!-- User Editable Region -->
<main>
<p>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
</p>
</main>
<!-- 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/113.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge:
Welcome to our community!
Restart step.
In this step you should wrap the following html elements:
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
into a ‘main’ element. The ‘main’ element has both, the opening <main>
and the closing </main>
tags. As you can see, your editor shows a blank space above the given code (here goes the opening ‘main’ tag) and below the given code (here goes the closing ‘main’ tag).
I understand this, but I have included an opening and closing tag.
CatPhotoApp
Cat Photos
Well, that didn’t go as planned. Here is my code below:

You are wrapping your h1 and h2 inside of the p tag, but thats not how the challenge first started out. Your entire p element needs to come after your h2.
You can also reset the challenge, and see how the challenge lays out everything
Where is the sentence between ‘p’ tags?
<p>See more cat photos in our gallery.</p>