How is my main closing. tag in the wrong area?

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<html>
<body>
  <h1><main>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos</p></main>

</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15

Challenge: Step 5

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


You shouldn’t put the main opening tag inside of the h1 element (between the opening and closing tags).

Hi,
Your main element’s opening tag needs to come after the h1 element. This means putting it after the h1’s closing tags.

This is what the h1 closing tag looks like.
</h1>

Hope that helps!