Learn basic HTML By Building a cat photo app- step 15

Hello guys, I just started school and I’m also taking this course side by side to try and learn. School is for network engineering and programming side won’t be until few months down the road. I am just trying to get a leg up on understanding and this seems like a fantastic place to start.

Onto my question lol - probably stupid but I’m stumped. I’m so close i think.

I am trying to turn my image into a link and I can’t seem to get the in the right spot. Any help would be great

<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>
     <a><img 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."</a>
     
    </main>
  </body>
</html>

Thank you,
Totally novice user <3

1 Like

You’re right, you’re really close. Here’s the syntax for that and see if you can figure it out on your own:

<a href=“(the link)”><img src=“(the photo url)” alt=“(a short image description)”></a>

This is also a good example:

1 Like

Thank you so much, that’s awesome. I was able to figure it out. Cheers.

I will also check that website out, thank you for the resource!

1 Like

Yes, it’s a great resource for small problems and basic syntax like that.
Wishing you success on your coding journey!

1 Like

Thank you, I’ve always had an interest but theres so many options I didnt know where to start.

1 Like