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

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a>href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
      <img src="<a>"https://cdn.freecodecamp no.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt="A cute orange cat lying on its back.</a>

Your mobile information:

iPhone - iOS16.5.1

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

Link to the challenge:

First, don’t change anything that is already there. You should probably reset the step to get the original HTML back.

Then, look at how you turned the words “cat photos” into a link:

<a target="_blank" href="https://freecatphotoapp.com">cat photos</a>

Do you see how you put an opening a tag before the words and a closing a tag after the words. This is how you turn anything into a link. So do the same to the img element.

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