Learn HTML by Building a Cat Photo App - Step 6

I am on day 1 of learning how to code.

The system is telling me that “You should not change the indentation on the line with your h2 element. Its opening tag should start 6 spaces over from the start of the line. You can restart the step to restore the original indentation.”

  **My 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>
  **My browser information:**

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

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

Link to the challenge:

Hi!! This is my first time I post anything on this forum, I’m new here too!
So, I think when it says “6 spaces over from the start of the line”, it means six spaces if you had already indented the “body” and “main” elements after “html”.
For the indentation of both “h2” and “p”, I would suggest using only two spaces to the right of “main”, like you did for “body” and “h1”.
I hope this helps!

Hey, thanks for your help, it did work, now I can finally carry onto the next steps. how are you finding coding right now? :slight_smile:
Thanks!

Glad I helped! :grinning: I find coding very interesting and this camp really helps me stay consistent with my efforts!!

1 Like

All the best to you on your coding journey!