Tell us what’s happening:
I thought I did every step in the instructions but apparently not, these are my instructions:
In the previous step, you nested the h2
element, comment, and p
element within the main
element. Indenting nested elements two more spaces than their parent element improves readability:
<ul>
<li> This `li` element indented </li>
<li> This `li` element is also indented </li>
</ul>
Add two more spaces in front of the h2
, comment, and p
elements so your HTML is more readable.
**Your code so far**
<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>
This is what it tells me when I try to submit:
Your comment should be below the h2
element and start 6 spaces over from the start of the line.
Challenge: Learn HTML by Building a Cat Photo App - Step 4
Link to the challenge: