Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening:
Describe your issue in detail here.
I don’t understand what the issue is. it says that " The h2 element and the comment are indented two spaces more than the main element in the code below. Use the space bar on your keyboard to add two more spaces in front of the p element so that it is indented properly as well."

  **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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.54

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

Link to the challenge:

The comment should also be aligned with <h2> and <p>

That didn’t work as well.

The only thing you have to do, which is what the exercise is asking from you, is to " Use the space bar on your keyboard to add two more spaces in front of the p element so that it is indented properly as well." You should NOT do anything else.

1 Like

Thank you, it worked.