Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
I’m trying to complete step 15. I turned the image into a link but it still says my code’s wrong. The hint is " You should only add one opening anchor (a ) tag. Please remove any extras." But I’m not sure what extra anchor tag there is.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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>

<!-- User Editable Region -->

    <a href="https://freecatphotoapp.com"</a> <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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

You didn’t quite do it correctly. I would restart the step to get the original HTML back. In previous steps you turned the words “cat photos” into a link by wrapping them with opening and closing a tags. That’s how you turn anything into a link. So you want to do the same thing to the image. You should only add one opening a tag and one closing a. That’s it. If you change anything else you will most likely not pass the step.

thank you for the reply!

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