Learn HTML by Building a Cat Photo App - Step 5

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

  **Your code so far**
<html>
<body>
  <h1><main>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p></main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.99.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

They are saying that i have to put the below the p element but if i do that, nothing happens? I also tried to put it next to the p element but it’s still wrong. Can someone pls help me?

Your closing </main> tag is fine, you have placed it after the p element as instructed. But your opening <main> tag is not quite right. Instead of placing it after the h1 element you nested it within the h1 element.

1 Like