alex123
1
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
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- 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.">
</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/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:
AshleyW
2
surround your img element with an ‘a’ tag with the requested href.
alex123
3
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?
AshleyW
4
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 
1 Like
it is hard. is w3schools.com the same as this site.
kai1
6
Add the closing a
tag after the img
tag so that you wrap up the img
tag with a
tag.
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.
system
Closed
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.