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>

<!-- User Editable Region -->

  <body>
    <main>h1</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/111.0.0.0 Safari/537.36

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

Link to the challenge:

So you got the first part right, but the second part is not correct. Look at the directions again. It says to create the main tag before the h1 which you have done correctly. However, look where it tells you to close your main tag which is </main>

It tells you to add the closing tag after the closing p element tag. So you need to move that closing tag to where it tells you. Also get rid of the text h1 you have between your mains. get rid of the h1 text but keep the actual h1 tag

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