Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<!-- TODO: Add link to cat photos -->
</main><p>Click here to view more cat photos.</p>
Click here to view more cat photos.
I am having problems adding the main elements.
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:
Hello and welcome to the forum!
This exercise is asking you to:
Identify the main section of this page by adding a
<main> opening tag after the
h1 element, and a
</main> closing tag after the
Your code is pasted here for convenience:
Looking at the code so far, do you see how you have learned how to create HTML elements like
And notice then that each element has an opening tag and a closing tag?
for eg. h1 has the opening tag
<h1> and the closing tag
Just like the above body and h1 elements etc , the new element you are learning about here is called
main works the same way. It has an opening tag
<main> and a closing tag
Knowing this, do you think you have added the element main correctly in your attempt?
Hint: you must add the opening tag after the h1 element and the closing tag after the p element.