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**
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
**Your browser information:**
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/184.108.40.206 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge:
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
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?
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.