I cant pass this levell

Tell us what’s happening:
Describe your issue in detail here.

In the previous step, you nested the h2 element, comment, and p element within the main element. A nested element is a child of its parent element. It should be indented two more spaces than its parent element to improve readability, like this:
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/96.0.4664.45 Safari/537.36

Challenge: Step 6

Link to the challenge:

just like you gave two spaces before p element and h2 element similarly give two spaces before your comments.

1 Like

@labeganwahab If you notice the instructions actually say all THREE child elements (the h2-tag, the comment and the p-tag) should be indented. You have only indented two of the three.

1 Like

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