Learn HTML by Building a Cat Photo App - Step 5

I was told to 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.

I don’t think i did anything wrong, but why isn’t it working?

Your code so far

<html>
  <body>
    <main>

<!-- User Editable Region -->

    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>

<!-- User Editable Region -->

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

Your browser information:

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

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

Link to the challenge:

i think you understand the instruction may be try it like on new line only add <main on the first and </main on last i didnt close it b/c it wont allow me (>)

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