Learn HTML by Building a Cat Photo App - Step 6

Step 6

In the previous step, you nested the h2 element, comment, and p element within the main element. Indenting nested elements two more spaces than their parent element improves readability:

<ul> 
  <li> This `li` element indented </li>
  <li> This `li` element is also indented </li>
</ul>

Add two more spaces in front of the h2, comment, and p elements so your HTML is more readable.

I can´t do this step, someone can help me please? Thank You

  **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 10.0; Win64; x64) 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:

I believe this is just asking you to make your coding look more “neat”, you can do this by utilizing the spacebar on your keyboard on the elements that the question is stating.

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