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


<!-- User Editable Region -->

<main>
  <h1>catphotoapp</h1>
    <p>see more cat photo in our gallery</p>
  
    </main>





  </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/110.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome them to our community!

Describe your issue in detail here.

could u help write the code
it says that i must put the main end bellow the p

You have added two closing </main> tags in the wrong place. Delete them both here, and the new one closing </main> tag after the closing </p> tag (and before the closing </body> tag).

If you restart the step, you will see exactly where the blank spaces are left to put the opening <main>, and the closing </main> tag.

<main>
  <h1>catphotos</h1>
  <p>see more cat photos in our gellary</p>
  </main>

i treid to write it this way and stii there is an error

Post the completely new code that you did here again.

<main>
  <h1>photo cat</h1>
  <p>see more cat photos in our gellary</p>
  </main>

sorry brother the code dosent comeout when i send it as a message

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

You should only add main tags. Add or change nothing else.

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