Build a Cat Photo App - Step 5

Tell us what’s happening:

itry to solve the code i tried alot of times but idont no why it’s keep telling me wrong

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main>
    <h1>Most important content of the document</h1>
   <p>Some more important content...</p>
   </main>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Everyone loves cute cats online!</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/136.0.0.0 Safari/537.36 Edg/136.0.0.0

Challenge Information:

Build a Cat Photo App - Step 5

Hi there @Abdulaziz2001527 and welcome to our community!

You have copied the example code from the challenge description:

This is just an example of how to nest elements within a main element. Hit the Reset button to restore the starting code for this step, and then only add a main opening tag above the h1 element and a main closing tag below the p element.

Hi @Abdulaziz2001527 Welcome to the Community.

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Everyone loves cute cats online!</p>

Here is the actual code and here you need to put <main> and </main>.

Before h2 tag and last p tag

This how you can identify the code under main section.

Hope You Understand.