Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
I dont know where to put /main if not next to p>
elpme

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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:

Your main elements are in the wrong places. After your h1 element, place the main element after that. Then place your closing main element after the p element.

You added the main tag after the h1(closing tag) element.

Like

<h1></h1>
<main>
     <h2></h2>
</main>

Happy Coding :smiley:

1 Like