Learn HTML by Building a Cat Photo App - Step 5

Hi All,

I’m stuck, so if anybody could help i step 5, I don’t know whether I’ve entreed the correct info in the right place as you can see below and I cannot move forward.

<main> </p>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>

The instructions were:

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.

I think you only did half of what is mentioned here? (The first half)

I also see you added a </p> next to the main opening tag. That doesn’t work there and was not required by the exercise.

Yes, that worked a treat.

Line 8 is where I went wrong as I should have ended it with like you said.

Thank you

1 Like