Turn the image into a link by surrounding it with necessary element tags. Use
https://freecatphotoapp.com as the anchor’s
href attribute value.
I am getting the hint:
Your anchor (
a) element should link to
https://freecatphotoapp.com. You have either omitted the URL or have a typo.
**Your code so far**
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
<a> href='https://freecatphotoapp.com'<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
**Your browser information:**
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
Challenge: Step 14
Link to the challenge:
you can compare anchor tags for cat photos and the img, the anchor for img has its its attribute outside its
I’m still confused. If I change it to <a(.) href= “https://freecatphotoapp.com”><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt=“A cute orange cat lying on its back.”
the problem persists… is this what you are referring to?
Just kidding! I was able to solve it with:
<img src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg” alt=“A cute orange cat lying on its back.”()>
Thank you for your help!
*To have it pass you must remove the parenthesis.
Mod Edit: SOLUTION REDACTED
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
I asked you above to please not post solutions. Please do not post solutions.