Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more cat photos in our gallery.<a href="https://freecatphotoapp.com">cat photos</a></p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<!-- User Editable Region -->
<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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Hello and Welcome!
To turn the text cat photos into a link, it is required that the opening and closing a anchors be placed on each side of only these two words.
Do not remove the words from within the p element statement.
Do not make any other changes.
Example: red dog would be a link because the < a> opening anchor and the < /a> closing anchor would enclose the words instead of the words within the elements tags.
< p> The big < opening anchor> red dog < /closing anchor> jumped over the fence.
I hope this helps you.
Here is a great article on turning text and images into links. It has examples.
There will be times where you will want to nest links inside paragraphs or turn an image into a link. But how do you go about doing that in HTML? In this article, I will show you how to nest links inside paragraphs and how to turn an image