Ive created what they want but still get it wrong

Tell us what’s happening: Step 6 asks me to add indent some sort of child 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” I’ve added the

    but dont understand how to improve upon this.

  **Your code so far**
  <h1>Cat Photo App</h1>

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

    <li> Child Element 1 </li>
    <li> Child Element 2 </li>
    <li> Child Element 3 </li>

  **Your browser information:**

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

Challenge: Step 6

Link to the challenge:

Here’s an illustration

//without two spaces 
<p>child element</p>
<p>child element</p>

//with two spaces, press space bar twice to achieve this. 
  <p>child element</p>
  <p>child element</p>

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