adding child element

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

  **Your code so far**
    <ul><li> Child Element 1</li>
   <ul><li> Child Element 2</li>
  <h2>Cat Photos</h2>
  <!-- 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:

Hi @Mark5 ,

The example given is just there to show the difference between indented code and not indented code:

<ul>                           <!-- This code is not indented -->
<li> Child Element 1 </li>
<li> Child Element 2 </li>
<ul>                           <!-- This code is indented -->
   <li> Child Element 1 </li>
   <li> Child Element 2 </li>

It makes your code more readable and shows the parent element and child elements.

Now, all you need to do is indent your code to improve readability by only adding spaces (two spaces) before all the elements within main.
Please restart the challenge and try again .

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