in building a cat photo, look at this question:
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 h1
, comment, and p
elements so your HTML is more readable.
my code says:
<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>
but what i don’t understand is the hint which says:
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.