Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.
I can’t figure out this step no matter what I do. no matter where I try to close (a) its incorrect and says I need if I try to close it in the beginning of the code it breaks the image source. when I try to close (a) at the end of the image source it doesn’t work. I’ve been at it for hours. when I close I use no luck. I went back and reviewed the steps but still have no idea. please help. and please don’t answer me like I’m stupid. I made it through 1-14 so I am paying attention but have no idea where I’m going wrong
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 -->

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

<!-- User Editable Region -->

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

Your browser information:

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

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

Link to the challenge:

Welcome to our community!

Here in your code, you are writing the anchor <a> element inside an image tag which is incorrect
use this format to change pictures into a link.
<a href="URL"><img src="image location" alt=""></a>

Tell us what’s happening:
Describe your issue in detail here.
I believe this is supposed to be the correct solution but I can’t move on. can anyone see something I can’t?

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 herf="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> 

<!-- User Editable Region -->

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

Your browser information:

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

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

Link to the challenge:

vs

These two are a tiny bit different.

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