Learn HTML by Building a Cat Photo App - Step 14

Step 14 is confusing me.
It’s unclear as to what to do. No example is posted. I am googling to find examples, but uncertain how to do this.

     <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" <a href= "https://freecatphotoapp.com"> alt="A cute orange cat lying on its back.">
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <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>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" <a href= "https://freecatphotoapp.com"> alt="A cute orange cat lying on its back.">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15

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

Link to the challenge:

You turn an image into a link the same way you turned the text ‘cat photos’ into a link. You need a valid opening anchor tag before the img element and a valid closing anchor tag after the img element. You should not change the img element.

That was just one of my many tries. Let me try again with your advice. Thank you.

I don’t know placement. Still super confused. I find it should give an example. Can you show me an example?

And so I googled it and it now tells me that I can only have one anchor tag.

What is your current code?

For this Step, you should have two anchor elements.

Jeremy, I got it! Thanks for your support! Onward to step 15!

1 Like

[quote=“JeremyLT, post:2, topic:545682”]
element

Thanks A Lot. I have completed this step by following your advice.