Tell us what’s happening:
Describe your issue in detail here.
you nested the h2
element, comment, and p
element within the main
element. A nested element is a child of its parent element. It should be indented two more spaces than its parent element to improve readability,
Add two spaces in front of the three child elements of main
so your HTML is more readable.
Your code so far
<html>
<h1>CatPhotoApp</h1>
<main>
<ul>
<h2><li>Cat Photos</li></h2>
<li><!-- TODO: Add link to cat photos --></li>
<p><li>Click here to view more cat photos.</li></p>
</ul>
</main>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Step 6
Link to the challenge: