What do they mean by it must be 6 spaces from the tag

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>  
  <h2>Cat Photos</h2> 
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more <a href= 'somelink.com'cat photos</a>.</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/102.0.0.0 Safari/537.36

Challenge: Step 6

Link to the challenge:

Hi!

First, why have you added this part? The lesson does not ask for it and your code will not pass with it added.

<p>Click here to view more <a href= 'somelink.com'cat photos</a>.</p>

Second, this is indented code. It just means that elements inside other elements, known as ‘children’ are two spaces from the left. The elements containing them are known as ‘parents’.

<main>
  <h1>Hello</h1>
  <p>I am a paragraph</p>
<main>

oh ok that makes sense. Also i only added that line because someone told me i must do it when i first asked about this.

1 Like

I guess they mixed this up for another lesson, and didn’t check the lesson via what the forum automatically linked?

Either way, you don’t need to make a link at this stage.

also thank u so much because i was stuck on this for a good hour. so im very happy that it worked :3

1 Like

No problem!
If you are stuck on coding lessons, I advise checking out the w3schools website and Mozilla too.

It’s great to ask for help, but also good to do your own research when stuck.

ok thank you so much :3

1 Like