6th step was not understanding

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 cat photos.</p>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Safari/537.36

Challenge: Step 6

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Hi please i do not understand step six i need help

1 Like

What don’t you understand?

To add the index to elements how do i go about it?? Totally new to this

What do you mean by “index”? Which elements do you need to update?

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 cat photos.</p>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Safari/537.36

Challenge: Step 6

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

To make HTML easier to read, indent the h2 element, the comment, and p element exactly two spaces to indicate they are children of the main element.

It means that this

<p>I'm a paragraph
  <span>I'm a child of the paragraph</span>
</p>

is easier to read than this

<p>I'm a paragraph
<span>I'm a child of the paragraph, but it's harder to tell</span>
</p>

For readability, typically we indent HTML (as well as other programming languages) to illustrate its structure. A lot of editors do it automatically for us, but some don’t. For instance.

<html><head><title>This is my site</title></head><body><h1>title</h1>
<p>You know I love this site</p><br><a href="#images">
<img src="http://www.imagepost.com/image"></a></body></html>

Is valid code, but very hard to pick out whats there… so coding convension is rather:

<html>
  <head>
    <title>This is my site</title>
  </head>
  <body>
    <h1>title</h1>
    <p>You know I love this site</p>
    <br>
   <a href="#image">
     <img src="http://www.imagepost.com/image">
    </a>
  </body>
</html>