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 -->
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com"> 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/115.0.1901.183

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

Link to the challenge:

A link needs both opening and closing a tags, just like the link you already created below the p element.

Also, what happened to the text “cat photos” that was in the middle of that sentence. That’s what you want to turn into a link so I think you still need it in there :slightly_smiling_face:

Finally, do not add any extra text to the page. It looks like you added another “link to cat pictures” above the p element and turned it into a link. You don’t want to do that.

You have two these. You need to remove the top one because it shouldn’t be there

I dont see the link text cat photos that the directions ask for. You are also missing the closing anchor tag </a>

1 Like

Hi Smooth, Thanks for your help. I have rectified step 12. I’m now stranded at step 14. Please assist.

Step 14

Add a target attribute with the value _blank to the anchor (a) element’s opening tag, so that the link opens in a new tab.

See more cat photos in our gallery.

Hi @hellenjue, please use the Help button on step 14 to create a new post in the forum. That will automatically include your current HTML so we can see what you did.

1 Like

Thanks Smooth. That’s well noted. Let me continue since I’m now at step 20. When I tarmac, I’ll automatically hit the help button. Thanks once more for your support

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