Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

tell me how to solve this question please tell me

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Everyone loves cute cats online!</p>
    <main>
      <h1>Most important content of the document</h1>
      <p>Some more important content...</p>
    </main>
    

<!-- 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/137.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

reset the step, add the main element arond the existing elements, do not add any other element

You did too much. In these courses it is very important to follow exactly what the instructions are asking you to do.

One reason you’re failing this step is because you did more than what was asked. The way it checks is not if your code is correct, but if you do what it asked you to do.

No, the code is not correct. The main tags are not in the correct location.

1 Like

Ah, so they are! You are correct; thank you!