Tell us what’s happening:
The challange says: " 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."
The hint: Hint
Your main
element’s opening tag should be below the body
element’s opening tag. You have them in the wrong order.
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
</main>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge: