Misplacing Closing Main Tag

I’m having trouble placing the closing tag to this

tag, and I keep being told to place it under the

, and I’m not sure where that is.

  **Your code so far**

  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Step 5

Link to the challenge:

Its not a problem of the closing tag actually.
The opening main element should be after the <h1>

I did place the tag after the

tag. I can’t seem to get the closing tag placed properly.

When you type a tag, please enclose it with a backpack (`)

A p element without backtick →

A p element with backtick → <p>

There is no problem with the closing <main> tag.
When I put the opening <main> tag after the h1 it passes for me.

Take a look at the instructions:

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

That’s what it looks like when I enter it, but it just keeps telling me that its wrong.

The main opening tag should be after the closing h1 tag.

I do appreciate the help though. Thank you.

I got it. Thanks for the help.

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