Indent h2 element below the main element

how can i indent h2 element below the main element?

  **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/101.0.4951.67 Safari/537.36

Challenge: Step 6

Link to the challenge:

You have to make sure the h2, the comment and p are exactly six spaces from the start of the line.
I would recommend you to click Restart Step and add two spaces for the h2, comment and the p OR select the h2, comment and p and press the tab key once.

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