Step 6 - Nesting Elements

Tell us what’s happening:
I nested the elements accordingly but it still gives me an error.
Describe your issue in detail here.
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.

It surely starts 6 spaces from the start of the line.

  **Your code so far**
    <h2>Cat Photos</h2> 
    <!-- TODO: Add link to cat photos --> 
    <p>Click here to view more cat photos.</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 6

Link to the challenge:

You can try and reset the lesson and then select all the three elements inside the main tag (using your mouse cursor) and use the key “Tab” to give it the indentation. The Tab key is basically two spaces so it should work after that. If you try and keep checking your code multiple times and it doesn’t passes, then the option to restart your set will show up.

1 Like

Might be a browser issue. Also try deleting the spaces tabbing over instead

1 Like

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