Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening: Hi guys, i’m new to this coding thing and i’m trying to pass one of the tests and I need help. The task is to close the tag, which is and it’s telling me to put it after the <p< tag, which I did, but i’m still not passing the test.
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.</p>
  **Your browser information:**

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

Challenge: Learn HTML by Building a Cat Photo App - Step 5

Link to the challenge:

This is caused about a misconception of the “main” tag. This tag must wrap the main content, in this case the main content is the 3 texts in body. main tag should opens after the texts and close before the body closes. Remember, HTML tags must the closed. See the work of “body” tag if u need more orientation.

1 Like

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