Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

The code


is not matching . How to solve it?

Your code so far


<!-- User Editable Region -->

<main><h1><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:

Learn HTML by Building a Cat Photo App - Step 5

Welcome to the forum @deepikayalam21

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.

Have another look at the example code.

You placed the opening main tag in the correct spot.
The two tags after it are not necessary.

The closing main tag needs to go after the paragraph element.

Happy coding