Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening:
Describe your issue in detail here.
I have completed the step which tells me to nest my p element correctly by placing it two steps further to the right of the ‘main’ element, yet I’m being told that my code does not pass. Have I done it wrong and if so what do I need to do for my code to pass?
Thank you.

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

Hi!
Your h1 element should also be below/inside your main element. So, inside your main element, you have
h1 element
h2 element
comment
p element.

Ahh I See. Thank you for your response!

1 Like

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