Im unable to nest my h2 element, comments element and the p element as the children of the main element

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

  **Your code so far**

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

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

Challenge: Step 6

Link to the challenge:

Hey there! Welcome to the forums :wave: :slightly_smiling_face:

What seems to be the issue? Any error messages? Something just not make sense? The more info you give us the better we can help.

It looks like you have two opening <main> tags. Though I doubt that’s what’s intended.

You have two opening tag in the code. Kindly remove one of the opening main tag.

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