Tell us what’s happening:
Describe your issue in detail here.
Your code so far
i am confused as which elements to use to turn the image into a link and also where to put them
<!-- 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.">
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55
Challenge: Learn HTML by Building a Cat Photo App - Step 15
Link to the challenge:
surround your img element with an ‘a’ tag with the requested href.
so i should add at the start of the img tag <a and then href=" etc and at the end . how did u learn all this?
yes put your (a) with and href then img then closing (a) … Honestly I ask a lot of questions and I use w3schools.com a ton. Bookmark it
Keep up the good work
And if someone leads you to the answer make sure you mark solution so they get points for helping
it is hard. is w3schools.com the same as this site.
Add the closing
a tag after the
img tag so that you wrap up the
img tag with
no its more of a reference site. You can find a ton of great information and examples on there.
if you are still stuck, show us what your current code looks like by responding here with your code inside a code block.