Learn HTML by Building a Cat Photo App - Step 12

*Tell us what’s happening:
After nesting the anchor (a ) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element.

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<a href= "https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com">cat photos</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15

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

Link to the challenge:

You added the extra words cat photos to the end of the sentence and then made that the link. Instead, you don’t want to add any new words to the sentence. You want to turn the words cat photos that are already there in the middle of the sentence into a link.

1 Like

Hi @sana :wave:

I already solve this issue. You can find that solution.

Happy Coding :star_struck:

1 Like

See more cat photos in our gallery.

link to cat pictures
1 Like

I’m not sure if you are asking a question or what you are trying to do, but please stop posting to other people’s topics with just code.

Hi @sana ,
you have to WRAP the EXISTING cat photos part in the paragraph, with anchor tags. Do not create a separate one.

This link may helpful.

1 Like

the link you were supposed to create was meant for the words cat photos which are here in the sentence

(so the opening tag for the anchor element should have gone to the left of the word cat and the closing tag to the right of the word photos instead of adding the link somewhere else)

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