Step 15 challenge

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
    <cat photo>
    <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>
    </cat photos>
</body>
</html>

Challenge: Step 15

Link to the challenge:

1 Like

hello!! section elements are used to group related content! so, what they are asking for is: nest all of the elements that are in the main element, in a section element, so you can organize your code better!

i’ll give you an exemple:


    <main>
      <section>
        <h2></h2>
        <p>a paragraph<a target="_blank" href="#"></a></p>
        <a href="#"><img src="photo.jpg" alt=""></a>
      </section>
    </main>

hope it can help!!!

2 Likes

thank you have gotten it

please i need more explanation

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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