Can some help me with the Main element

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

  **Your code so far**

  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.
  **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 5

Link to the challenge:

Your main element needs to come after the h1, you’ve put it inside.

When it refers to after the h1 element it also means after its closing tag.

the main element goes outside the h1 element
basically after body and the closing /main tag should be after the /p tag.
never put closing tags inside of other elements.

just imagine that main basically wraps all your main-content

--------> main …CONTENT CONTENT CONTENT /main

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