Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

Identify the main section of this page by adding a opening tag before the h1 element, and a closing tag after the p element.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

    <CatPhotoApp>
    <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/109.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

hi there, welcome to the forum.
Did you have a question for us?

1 Like

There is not enough context to see what you having trouble with is, but I think the problem is that you need to a opening main element and a closing main element.

1 Like

Hello and welcome to the forum!
To solve the problem, the instructions tell us exactly where to place the opening and the closing <main> tags </main>

Do not remove any of the code between the h1 element, nor the p element, as this code is part of the main section.

And it is important not to add anything that is not in the provided code at the beginning.

It may be best to reset the step and only and the main tags as the directions ask us to do.

Keep coding!

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