I am stuck on this code.
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.
**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>
</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/101.0.4951.67 Safari/537.36
OK, tested a bit… it seems the test doesn’t like empty lines between the <main> and the <h2>
<main>
<h2>
passes, while:
<main>
<h2>
Fails… probably a too stringent testing requirement. You were initially failing because of the indent, but you need to remove all the empty lines you put between main and h2
You have to make sure the h2, the comment and p are exactly six spaces from the start of the line.
I would recommend you to click Restart Step and add two spaces for the h2, comment and the p OR select the h2, comment and p and press the tab key once.