Tell us what’s happening:
Describe your issue in detail here.
hey y’all new to coding can’t seem to figure out where to put the main command in? Your code so far
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
</main><elementName>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 5
You do have opening and closing <main> tags in the correct place. However, there is an extra closing element and something else that shouldn’t be there.
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
</main><elementName>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
</main>
</body>
</html>
First, there is no <elementName> element in html. This must be removed.
Second, each html element should only have one closing tag. And this particular closing tag should close after the <p> element.