Tell us what’s happening:
Describe your issue in detail here.
Before adding any new content, you should make use of a section element to separate the cat photos content from the future content.
Take your h2, comment, p, and anchor (a) elements and nest them in a section element. Your code so far
<html>
<body>
<!-- User Editable Region -->
<main>
<h1>CatPhotoApp</h1>
<section> <h2>Cat Photos</h2><p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p> </section>
<!-- TODO: Add link to cat photos -->
<a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
</main>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Edg/92.0.902.67
Challenge: Learn HTML by Building a Cat Photo App - Step 16
Ok. If you know absolutely nothing, you probably are moving too fast and need to go back to the beginning.
An HTML element is code that we write to control how a webpage is displayed.
An HTML element has an opening tag, enclosed content, and a closing tag.
The opening tag consists of the element name and any attributes. The closing tag has the element name.
If you know what an HTML tag is, then I’ll move on to explaining what h2 , p, a, and section tags mean. If you don’t understand what an HTML tag is, please let me know.
I would like you to create the section element after you cut and past this into it .
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>