Tell us what’s happening:
Even though I am 99% sure I have the correct formatting for my tags, per the instructions, the tester is telling me this:
Test: Sorry, your code does not pass. Don’t give up.
Hint: Your main
element’s closing tag should be below the p
element. You have them in the wrong order.
Your code so far
<html>
<!-- User Editable Region -->
<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>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge: