Learn HTML by Building a cat photo app step6

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

  **Your code so far**
  <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>
  **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:

In the code we have siblings and child elements.

Shen the elements is beside each others they are siblings.

For example the `<p>` is a sibling of `<div>`
<div>Content here</div>
<p>Content here</p>
And here the `<p>` is a child of the `<div>`
<p>Content here</p>

To make code clean and readable we add two spaces before the child elements

<p>Content here</p>
  <p>Content here</p>

And the <ul> code is just for an example you don’t need to add it to your code.

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