Step 6 i can't pass it

can someone help me with the comment I can’t pass the step 6 because it keeps telling me I have it wrong and my comment should be below the h2 element and start 6 spaces over from the start of the line. how can i pass it

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

Challenge: Step 6

Link to the challenge:

image

i correcte the organisation but the same it keeps telling me I have it wrong and my comment should be below the h2 element and start 6 spaces over from the start of the line. how can i pass it

ensure all< at the beginning of all the chid elements are directly under the A in the <main> elements

i do it but doesn’t work

show your current code

can you show us what you’re putting

Capture d’écran 2022-06-15 214531

To make it easier to help you, instead of showing us pictures of your code you need to paste your code into this thread. To paste your code in here, wrap it in three back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.


<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>```

Perfect. Now I can see the problem. There is a bug in the test and you are triggering it. You have some extra space characters after the closing </h2> tag. The test is not expecting them and is therefore failing your code. Get rid of those spaces and then it will pass.

thank you
i get rid of them it keep telling me it wrong so i put up the space another time and it work finaly thanks a lot

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