Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
So the step is telling me “Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor’s href attribute value.” but I have no idea how to do it. I’ve tried it a bunch of times, asked my parents, and searched up on google but I still can’t find out how to do it.
Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

I just got past this it took me while so right after <a href= you need to put https://freecatphotoapp.com>

1 Like

After <a href= put the href value ( https://freecatphotoapp.com) in quotation marks. Then, a “>” symbol.

After alt=“A cute orange cat lying on its back” , add an ending p tag in addition to the ending a tag.

1 Like

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