Learn HTML by Building a Cat Photo App - Step 12

Need help to make the text “cat photos” into a link

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

You added the anchor element – a – after the --p-- element. What you need is to surround the words “cat photos” inside the p element with the anchor element a.

Can you explain in more detail what you don’t understand about turning “cat photos” into a link?

You turned the words “link to cat pictures” into a link in a previous step. You would use the same technique to turn the words “cat photos” into a link.

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