Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.
Hey, Im kind of stuck on creating a cat photo app stage five. This is under identifying different content areas.

  **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/104.0.0.0 Safari/537.36

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

Link to the challenge:

You put the opening <main> tag inside of the h1 element but you put the closing </main> tag completely after the p element. Why did you do these differently? One of them is correct. If the instructions are asking you to put something after an element, do you think you should put it inside of that element?

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