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>
<main> <h1> <p> </main>
    <h1>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/108.0.0.0 Safari/537.36

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

Link to the challenge:

Hello and Welcome to the forum.
Do you have any questions?

The instruction: " Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element."
Don’t change the code given. Just add the <main> before the ‘h1’ element, and </main> after ‘p’ element:

<html>
 <body>
  <main>
   .
   .
   .
   </main>
 </body>
</html>

As you can see, the main section wraps up everything between the opening and closing tags of the ‘body’ element.

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