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 (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:

And element consists of its opening tag, closing tag, and any content between those two tags. So when the instructions say “add a <main> opening tag after the h1 element” that means you need to add it after the entire h1 element. You have added the <main> tag after the opening h1 tag, not after the entire h1 element.

1 Like

wow thank you so much

1 Like

OMG, thank you!!! I have been searching for hours and you’re the only post that made sense and it worked!

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