Please where should I put the opening and closing main element. They said “ Identify the main section of this page by adding a <main>
opening tag before the h1
element, and a </main>
closing tag after the p
element.”
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- 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 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/137.2.345735309 Mobile/15E148 Safari/604.1
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge: