Learn HTML by Building a Cat Photo App - Step 16

Tell us what’s happening:
I Cant seem to solve Sep 16
Describe your issue in detail here.

Your code so far

       <h2>Cat Photos</h2>
       <!-- TODO: Add link to cat photos -->
       <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a></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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

Challenge: Learn HTML by Building a Cat Photo App - Step 16

Link to the challenge:

you are supposed to create a <section> element in this step
I don’t see that you have tried that?

I Dont understand how to add the section element

click on the reset step button so that the code goes back to the starting point then write a section opening tag and a section closing tag in the lines that the exercise says to write them in.

Take your h2 , comment, p , and anchor (a ) elements and nest them in a section element.

so this line means they want the opening tag on the line before the h2 and the closing tag on the line after the anchor element.

Maybe you are confused because it’s called element now instead of tag? It’s the same syntax like h1, h2, h3, p and all the other stuff. You need to wrap section (with the arrows) around h2 (before) and the anchor-link (after).

The purpose is like a chapter in a book or a specific part of a menu (one section could be the dessert-section on a menu)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.