STEP 6 in the new curicullum i dont understand the indentation

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 (Windows NT 6.1; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0

Challenge: Step 6

Link to the challenge:

Indenting space into a nested element helps in readability. It specifically does not change anything in the page but makes it look good when someone is reading your code. Adding space before an element indicated that the element is a child of the prevoius element. Like in the above example h1 is a child of the body element, h2 is a child of the main element.

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