Stuck on this part of the code

Tell us what’s happening:
Describe your issue in detail here.

Okay im very confused on how they want this code to be indented can someone maybe screenshot the correct example on what this should the example states the following –
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.

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

Challenge: Step 6

Link to the challenge:

Just press your space bar twice for each line. You want to align your “<” with the one under main.

You currently have h2 indented two spaces from main, which is correct. However, from there you indented the comment two spaces from h2 and the p two spaces from the comment. These are incorrect. The three lines, h2, comment, and p should all have the same amount of indentation which is two spaces from the start of the main element.

thank you this worked

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