Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.

Hey I cant figure out where the main tag goes. It says to put it below the p tag and Ive done it but to no avail. Any guidance please
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.5112.81 Safari/537.36 Edg/104.0.1293.47

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

Link to the challenge:

Hi @dsmith225 ,

You didn’t place the opening main tag in the right place.
If you format your h1 element code, it will look like this :

So, you can see that your opening main tag is not after the h1 element, it is within the h1 element.

Your closing main tag is in the right place.

Tag <main> Like Container Beyond the Big Title <h1> :slight_smile:

<body>
                <h1> the Big Title </h1>
                <main>
                                  <other_tags>
                                  .
                                  .
                                  .
                                  </other_tags>
                </main>
</body>

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