Please I'm having issues with the placement of the closing tag </main>

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 --></main>
  <p>Click here to view more cat photos.</p>
  **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:

The way you have written the main opening and closing tags is correct but their placement is wrong. The opening tag should be placed after the h1 element. This means it would be placed after the closing tag of that element. The closing main tag should be placed after the p element. Here you have placed it after the comment.

Thank you very much it worked

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