Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.

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>

<!-- User Editable Region -->

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

Your browser information:

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

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

Link to the challenge:

When asking a question, it is important to fill out this form so that individuals looking to assist you know how to best assist you.


I am not sure why you added the tags all the way on the bottom there. The directions say

" adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element."

So you want to put the opening mai ntag before the h1 that the challenge provides you. Then add the closing main tag right after the closing p tag that the challenge provides you

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