Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
i don’t understand by what they mean that my main opening tags should be before my closing tags

Your code so far

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

Your browser information:

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

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

Link to the challenge:

Welcome to our community!

here goes the opening 'main' tag
<h1> --------------h1 element


You should follow the instruction. Other elements required by the challenge should be found here. 


</p> ---------closing p tag
here goes the closing 'main' tag

You added a bunch of stuff here. Only add main tags.

this is what i did but i still dont get it

can you post your new attempt here ?

That isn’t what you did.

  1. Delete the random extra tags you put here
  1. Move this so that it is after the p element that says “Click here to view more cat photos.”
1 Like

thank you so much
going to the next step :smiling_face_with_three_hearts:

2 Likes

Sorry. I made a mistake. Now it is ok. Take a look again.