Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.

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>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your mobile information:

TECNO KI5k - Android 12 - Android SDK 31

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

Link to the challenge:

You need to wrap your image tag in an anchor tag and give it the href of

https://freecatphotoapp.com

Welcome to the community!

Here is a good article from FCC News category that explains and provides good examples on turning images and text into links.
It is authored by one of the leaders.

FCC News Article Turn Image and Text Into Links

Happy coding!

1 Like