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

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

Link to the challenge:

You added <main> in the wrong spot.
What you need is to add <main> after the h1 element.
In this case the h1 element is the line that looks like this in the code that was given to you originally:

<h1>CatPhotoApp</h1>

So you need to add the main tag after this line.
You also need to add a closing main tag after the paragraph line. (p tag line)

1 Like

thx bro so much i just started learning coding and im 13 yo so you just supported me to learn by helping me thx

1 Like

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