Learn HTML by Building a Cat Photo App - Step 12

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 -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.<a href="https://freecatphotoapp.com">cat photos</a></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/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 should turn the already existing text cat photos from within your paragraph into a link by surrounding it in a tags.

<p>This is a paragraph with a <a href="">LINK</a> inside.</p>

Looks like this on the webpage:

This is a paragraph with a LINK inside.

Hope this helps.

Welcome to FCC Forum!

@anon86258595 has provided an excellent example and great guidance. When solved, if either of these posts helped you, please take time to check off the solution by her?
Her input and great guidance was first to respond.

To turn only the words cat photos into a link in this step, keep the p element statement as it is, and add the opening anchor before the word cat and after the word photos. Do not leave any space between the anchor and the word it is holding in the anchor.


Use the anchor below the p element as a reference on how to anchor the text.
The only difference is the text being anchored for this step will remain in the sentence with the anchor being added to it.

I hope this helps you.

Here is a great item on how to turn text and images into links. It has good examples, and is authored by one of the leaders.

FCC News Article Turn Image and Text Into Links

Keep up the good progress!

1 Like

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