Step 6 hot to add indent

Tell us what’s happening:
Describe your issue in detail here.
I’m stuck I can’t seem to pass the step, I’ve already tried add two space to h2

  **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 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1

Challenge: Step 6

Link to the challenge:

HI @joelokebugwu1998 !

The lesson wants to learn about indentation best practices by selecting all the h2 element, the comment, and p elements and indenting them to the right.

If you press tab in front of each element then it will be indented.

Here is an example of what it means to indent elements.

<ul>
  <li>example 1</li>
  <li>example 1</li>
  <li>example 1</li>
</ul>

You see how the li items are indented to the right?

You need to do that same thing here

Hope that helps!

3 Likes

thank you so much! there should be an example added to this lesson.