Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
I am trying to turn the text of my p element, the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a ) tags around these words. For some reason its not working, I’m lost.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery <a href="cat photos" in our gallery </p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- User Editable Region -->

      <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/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15

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

Link to the challenge:

Lets look at an example that is already in your code

This link is surrounding the text “link to cat pictures” Your code is going to be very similar to this, but this at least shows on how you need to structure everything

you should only be adding the link this challenge. No new text should be added to the sentence that the challenge gave you

After some trial and error I was able to spot the problem

See more cat photos in our gallery

The lines of code above is what solved the problem

1 Like

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