Tell us what’s happening:
Describe your issue in detail here.help me change the photo of the cat to a link also using the anchor element setup like main elements
**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 </P>
<main>
<p>
<a href="https://freecatphotoapp.com"/a>
<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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 14
You’ve change a lot of things that you shouldn’t have changed. I would restart the step to get the original HTML back. Then, the only thing you want to do is turn the image into a link. You’ve already turned the words “cat photos” into a link by surrounding them with the a tags. You want to do this to the img element as well. You can have more than one link on a page.
Please make sure to have each tag have both its opening bracket < and its closing bracket >.
Note you can’t have one tag insite an other, so if you have an opening bracket <, the next bracket you should see is a closing one > – you can’t have two opening brackets following each other as that would mean the tag is not complete.
Tell us what’s happening:
Describe your issue in detail here.
How to add a target attribute with the value blank to the anchor element opening tag so link opens in new fab?
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<main>
<p>Click here to view more
<a href="https:freecatphotoapp.com/" target="_blank">https://freecatphltoapp.com
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</p></a>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Tell us what’s happening:
Describe your issue in detail here.
My element structure is wrong? How to correct
**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</p>
<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 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Tell us what’s happening:
Describe your issue in detail here.
**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<h3>
<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 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1
Challenge: Learn HTML by Building a Cat Photo App - Step 14