Learn HTML by Building a Cat Photo App - Step 6

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

Your code so far

  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p> 

i get this error message please help!

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

Yes, i want help to solve step 6. This is the message it has given me:

" In the previous step, you put the h1, h2, comment, and p elements inside the main element. This is called nesting. Nested elements should be placed two spaces further to the right of the element they are nested in. This spacing is called indentation and it is used to make HTML easier to read.

The h1 element, h2 element and the comment are indented two spaces more than the main element in the code below. Use the space bar on your keyboard to add two more spaces in front of the p element so that it is indented properly as well. "

Please help

first thing is, please click the restart step button.
This will restore the code back to its original indentation.
You seem to have moved all the lines to the left.

Actually what you need after you restart is to move only the line with the p element
exactly 2 spaces to the right.

give that a try and let us know if you need more help (please post the new code in a code block if still stuck)

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