Build a Cat Photo App - Step 5

Tell us what’s happening:

Identify the main section of this page by adding a opening tag before the h1 element, and a closing tag after the p element.

Your code so far


<!-- User Editable Region -->

<main>  
<h1> the main content of the body </h1>
<p>HTML5 has some elements that identify different content areas. These elements make your HTML easier to read and help with search engine optimization (SEO) and accessibility</p> 
</main>    
    <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Everyone loves cute cats online!</p>      

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 5

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

Welcome to the forum @Syeds

It looks like you copied and pasted the example code.

You need to place the existing elements in a main element.
Please reset the step to restore the seed code and try again.

Happy coding