Complete begginer trying to teach myself HTML-CSS, just need a little help please

Tell us what’s happening:
hey guys! this might be very easy for yous but I’m totally stuck, I am trying to add a “” but the instructions keep saying I must add it below the

, I have tried to do that multiple times but it is telling me its wrong, can someone please give me a hand in this as I am a complete beginner haha

  **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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.62 Safari/537.36

Challenge: Step 5

Link to the challenge:

  • why is main inside h1 tag , you should put it outside of it before the h1 tag

they said:

adding a <main> opening tag after the h1
element, and a </main> closing tag after the p element.

thank you so much :slight_smile:

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