Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here. I don’t understand how to do this …

Your code so far

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

<!-- User Editable Region -->


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/16.3 Safari/605.1.15

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

Link to the challenge:

HI @Dahjelly ,
It asks you to turn the image into a link. So when you click on the image, it will go to the particular website.

If you look carefully under the TODO comment you will see a Text Part is converted into a link.
So, Get the idea & Do the same thing with <img...>.
(maybe you’ll have to remove target attribute)

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