Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:

I don’t understand what to do with it? dose someone know what to do next.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>

<!-- User Editable Region -->

      <section><section>
        <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>.</section></section>
        
        
      

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 17

Hi!, when you want to insert some elements into a new element. It is done this way. The instruction here is to code this into a figure element already created.

<h1>First Heading</h1>
<p>First paragraph</p>

now to surround it by figure elements.

<!-- Below I am inserting a figure tag -->
<figure>
<h1>First Heading</h1>
<p>First paragraph</p>
</figure>
<!-- Above I closed my figure tag -->
<!-- Therefore, I surrounded both my p element and my h1 element with a figure tag -->

so, I advise you reset your code and using my explanation; solve the problem above. Hope this helps! Goodluck :grinning:

2 Likes