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> href="https://freecatphotoapp.com"See more cat photos 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

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

Link to the challenge:

hey I’m having a little issue with 12 and I don’t understand how to nested the a element into the p element please give me a hand please and thank!

1 Like

In a previous step you turned the words link to cat pictures into a link by putting an opening a tag before the words and a closing a tag after the words. You can turn the words cat photos into a link by doing the same thing. It does not matter that the words cat photos are in the middle of a sentence. You can add a tags in the middle of a sentence as well.

whatever is in between <a href=""></a> becomes a link

“href” is usually always found inside an “a” element and not inside a “p” element

I am having the exact same issue. Did you figure it out? I am so stuck!

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