someone knows how to transform a image into a link , using the (href) command
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<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>
<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/104.0.5112.81 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Link to the challenge:
here
and probably that “extra >” after “img” tag is probably from that syntax error…
okay , I´ll try changing that , thanks
okay , I have tried it but nothing changes , I did the same as [sarthak.naik] and I have also followed your steps but , It´s wrong again .
share your tried snippet here
how I do that, I mean how I show you my try ?
copy and paste your code with atleast a “backticks” enclosing them
or “three bacticks with language name” enclosing them, i.e. ```html <code here> ```
okay , I´ll try it , I pretty new in coding I started yesterday so I´m having difficulties with understanding.
it’s alright, just copy and paste
<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>
good job
you’re missing “>” right before “img”
you mean , I have to add an > after the img ?
no, just right before “img”
i.e <a>....</a>
I have done it , and now appears the link so it must be correct and done but the serve is telling me this `
You should have an img element with an src value of https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg. You may have accidentally deleted it.´
again, always share your code when reaching out for help
I moved all these posts back into your thread to keep things better organized.
okay, thanks but how do i access those “threads”?!
I’m getting this same exact error. I can’t figure out my error.