Learn HTML by Building a Cat Photo App - Step 12

I put

The code inside here

and it didn’t work so I’m kinda confused

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> href="https://freecatphotoapp.com"</p>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 (Windows NT 10.0; Win64; x64) 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:

the href=“https://freecatphotoapp.com” should be inside of the a element.
something like this <a href=“https://freecatphotoapp.com”></a>
The text you want to be a hyperlink should be inside the a element

1 Like

I still kinda confused with it

By wrapping some text around an anchor (a) tags you can make it a link.

In this step you are instructed to turn the words “cat photos” into a link.

Here’s an example of how to do this:

<p>This is some text and <a href="https://thisisthewebaddress.com">this is a link</a></p>

Here is an article from freeCodeCamp about anchor tags: HTML Link – How to Turn an Image into a Link and Nest Links Inside Paragraphs (freecodecamp.org)

Okay, thank you so much

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