Tell us what’s happening: They asked me to open the main tag before the h1 tag and end it after the p tag and that is what I did. but the error still shows. I don’t know what I’m doing wrong
Describe your issue in detail here.
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 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-5https:/forum.freecodecamp.org/new-topic