Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.
i dont know how to do the main thing i tryed evey thing but it will still not work
Your code so far

<html>

<!-- User Editable Region -->

     <mai>Cat Photos</main>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>
    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51

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

Link to the challenge:

Stage task:
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.

and the start point if you restart the task is:

    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>

the only thing you have to do is to put a <main> in front of the first <h1> element and the closing tag </main> after your last <p> element.

2 Likes

ment and the closing tag </main> after your last <p> element.
[/quote]

THANK YOU SO MUCH i have been struggling you’re an angel

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