Tell us what’s happening:
Describe your issue in detail here.
I copied everything but it says it should be under the body I dont know what that means Your code so far
<html>
<body>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
<main></CatPhotoApp><h1></main></p>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Above are 4 elements.
These elements are the
h1 element
the h2 element
the comment line
the paragraph element
What you are asked to do is add a new element called main
The main element is supposed to be written around these 4 elements.
Such that
the main opening tag is on the top (directly above the h1)
and the main closing tag is on the bottom (directly below the paragraph)