Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

Sadly, my memory is dying because I can’t even type the code correctly due to the fact that I was losing my mind. And this is the one:

Most important content of the document

Some more important content...

Your code so far

<html>
  <body>

<!-- User Editable Region -->

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

    <main>
  <h1>Most important content of the document</h1>
  <p>Some more important content...</p>
</main>
    

<!-- 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/126.0.0.0 Safari/537.36 Edg/126.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

You were not asked to add new h1 and p elements. Only to put the existing elements in a main element.

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

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