A nested element is a child of its parent element

Although I probably did exactly what was asked, it doesn’t work. To make sure I understood everything correctly, I translated it with Google and tried again. either I don’t understand what is meant or the text / description is too imprecise. Can you show me the complete code so I know exactly what I have to do where.
I tried to put it above, below, before and after and so I don’t think I understood what it means

  **MY code so far as example**
<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Step 6

Link to the challenge:

You changed the spacing outside of the editable area.

This is the original code:

<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>

You should only add 2 spaces to 3 lines. Do not delete any spaces anywhere.

1 Like