Build a Cat Photo App - Step 17

Tell us what’s happening:

I’m so confused about step 17 can someone please help me out on this

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"/> alt="A cute orange cat lying on its back."/> <a href="https://freecatphotoapp.com"/>
      

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 17

Can you say what it is you don’t understand so I can better assist?

The instructions show a good example of how to nest an img element inside an a element to make it a link.

I don’t know how to arrange the a anchor and everything I don’t even know if I should erase everything first or just continue from there

No don’t erase, nest the already exists img element inside an a same way as the example given in the instructions

Can you please check my current code I think I did that already but it’s still not working

The nesting still isn’t correct. Please check the example again, making sure to account for both the opening and closing tags, then improve it.
a opening tag img then a closing tag

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