Learn HTML by Building a Cat Photo App - Step 6

**Tell us what’s

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
        <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  </main><p>Click here to view more cat photos.</p>
  </main>
</body>
</html>

i dont understand this step

  **Your browser information:**

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

Challenge: Learn HTML by Building a Cat Photo App - Step 6

Link to the challenge:

This step is trying to show you how to properly format your code.

Adding spaces or tabs in front of elements that are within other elements make them easier to read.

Which of these is easier to read?

<main element>
<nested element>
</nested element>
</main element>
<main element>
   <nested element>
   </nested element>
 </main element>
1 Like