Tell us what’s happening:
Describe your issue in detail here.
Somewhere my code is not good. I tried belowed, and even after
to put .
Someone could please help me ?
**Your code so far**
<html>
<body>
<h1><main>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</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/104.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Let me try to explain. The exercise instructions were:
Identify the main section of this page by adding a <main> opening tag after the h1 element, and a </main> closing tag after the p element.
So when you look for the “h1 element” mentioned, remember that an element in HTML is made up of two parts, the opening tag and the closing tag. Together, these make up “an element”.
So if you are asked to add something after an element, you need to find the closing tag and then add the new code after it.
Eg. Someone asks you to add a paragraph element after a h1 element, then they would expect you to do this
<h1>This is a big header</h1>
<p>This is a shoe paragraph</p>
Now double check your code. Did you add the main start tag after the h1 element?