I was told to 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.
I don’t think i did anything wrong, but why isn’t it working?
Your code so far
<html>
<body>
<main>
<!-- User Editable Region -->
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
<!-- User Editable Region -->
</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/117.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge: