Tell us what’s happening:

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

  **Your code so far**
          <h2> Cat Photos </h2>
              <li>  Child Element 1  </li>
              <li>  Child Element 2  </li>
        <!-- TODO: Add link to cat photos -->
        <p> Click here to view more cat photos. </p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 6

Link to the challenge:

hey @Bintang-Ramadhan, welcome to the forum.

The example is used for illustration, the tests don’t require it.
you got the right idea. When you indent

For better prespective, check this
How to Indent HTML Code – And Why it's Important

I assume that you thought this code snippet was part of the solution and included it in your answer:

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

Restart the challenge to reset your solution either by refreshing the page or pressing the reset button.

The challenge is to Add two spaces in front of the three child elements of main so your HTML is more readable.

The three child elements in this case would be the tags between <main>. Namely:

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

You are asked to add two whitespaces (two spacebars) at the start of the three child elements.

1 Like

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