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> 
</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.5060.134 Safari/537.36 Edg/103.0.1264.77

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

Link to the challenge:

An element includes both the opening tag, closing tag, and anything in between those tags. Thus, putting something after an element means putting it after all of those things, in other words, putting it after the element’s closing tag.

So be sure to put <main> after the entire h1 element. And then you forgot to put the closing </main> tag after the p element.

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