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><a(a) href="https://freecatphotoapp.com">cat photos</a></p>
<!-- 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 (Windows NT 10.0; Win64; x64) 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
First, don’t delete anything that is already there. I would restart the step to get the original HTML back.
Second, you have already turned the words “link to cat pictures” into a link:
<a href="https://freecatphotoapp.com">link to cat pictures</a>
Do you see how you put an opening a tag before them and a closing a tag after them? That’s how you turn anything into a link. So do the same thing to the words “cat photos” in the middle of the p element.
P.S. You actually almost did this correctly, but you added (a) to the opening a tag for some reason. And then you deleted the rest of the text in the p element, and the entire link you created below the p element. Again, do not delete anything that is already there. Just add the opening and closing a tags to turn “cat photos” into a link.