Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
throwing an error how to solve it in 1st user editable region in para graph i am geetign error i couldn’t find error solve

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p><a href="https://freecatphotoapp.com">cat photos</a>See more cat photos in our gallery.</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: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

how could i solve this

you probably didn’t see the full content of given example code:

<p>I think <a href="https://www.freecodecamp.org">freeCodeCamp</a> is great.</p>

the example code only turns the words “freeCodeCamp” into a link, not whole sentence which is ‘I think freeCodeCamp is great.’
so your answer should organize in the same way. only turn “cat photos” into a link.

here’s the expected effect:

See more cat photos in our gallery.

@phoenixx0415 I know you are relatively new here, so this is just some friendly advice. Don’t post full code working solutions in the forums. Instead of giving people the answer, we try to help guide them to finding the answer on their own.

@yadlayogitha Your issue here is that you added a second “cat photos” to the p element and turned that into a link. Instead, you want to turn the existing “cat photos” in the middle of the p element into a link.

You did create the link properly, you just need to do it to the “cat photos” that is already there in the middle of the p element.

oops, sorry. I edited my answer. only displays the expected effect and I hope this could be a helpful hint.

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