Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I am stuck in the 12th step since I am not able to create the text “cat photos” in to a link. Please

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
     <h2>Cat Photos</h2>
    <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63

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

Link to the challenge:


It looks like you are missing some code so please click on the Restart Step button to reload the original code for you to continue this exercise.

The original code contained a paragraph like this:

 <p>Click here to view more cat photos.</p>

You are asked to turn two words in this paragraph into a clickable link.
The two words you need to pay attention to are cat photos

To turn any word into a link, simply enclose it in an anchor tag. Here’s an example.
Given the following sentence:

This is a sentence which contains a link.

I can turn the word “link” into something clickable like this:

This is a sentence which contains a <a href="http://www.google.com">link</a>.

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