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
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<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.">
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
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.
@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.