I dont understand what i am supp to about the indenting, what does indenting even mean

Tell us what’s happening:
What am I to do 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 (Linux; Android 8.1.0; TECNO CA7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Mobile Safari/537.36

Challenge: Step 6

Link to the challenge:

Indenting means adding space to the left:

This line is not indented.
  This line is indented 2 spaces.
    This line is indented 4 spaces.

In coding, you use indenting to show the hierarchy. This:

<div>
  <p>howdy</p>
</div>

The indenting here reminds me that the p element is wrapped inside the div element. We would also say that the p element is a child of the div element.

Most of the languages you learn with FCC don’t require indenting (except Python). But it is a very, very, very good idea. To the point that there are programs called linters that professional coders use that will (among other things) complain if they don’t indent properly. In general, 2 spaces is the standard indent, though some prefer 4.

Does that help?

1 Like