What does this mean? "Your h2 element should be below the main element's opening tag and its opening tag should start 6 spaces over from the start of the line."

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Step 6

Link to the challenge:

It means that the <h2>, comment, and <p> need to be indented exactly 6 spaces . That means that for example, if we wanted to indent

<p>Hi</p>

2 spaces, we would rewrite it as this:

  <p>Hi</p>

So you need to indent it 6 spaces forward from the start of the line.

Hi thank you but it doesn’t work! I tried! it does not work :confused:

Hello, sorry for the late response. Are you indenting it for all 3 lines? (the h2, comment, and p?) It seems like your code is correct. Perhaps you could restart the step and type it again.

I’m having the same problem i indented it 6 spaces for all three lines but it’s not working…

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