Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Learn HTML by Building a cat photo App step 12

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.</p>
     <p> <a href="https://freecatphotoapp.com"> see more cat cat photos in our gallery.</a></p>

<!-- 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

this step requires you to turn the words " cat photos " in the first p element into a link. You don’t need to create another element after that.

1 Like

Hi, ,would you mind to explain further cause still I cant get it

So basically to change a word into link, you wrap it around an a tag giving it an href attribute. A basic example of a link looks like this:

<a href="your link">Your text</a>.

This step of the challenge wants you to change those specified words into a link.
Hope this helps!

It doesn’t work. What about the second part. I just tried it and it still doesn’t work. Please explain in simpler language. Thank you

can you share your code so we can understand where it doesn’t work?

Please make your own topic instead of using someone else’s

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.