<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more <a cat photos href="https:// freecatphotoapp.com">freecatphotoapp</a> in our gallery.</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Welcome to FFC forum. You modified your code. Reset your challenge and add anchor opening and closing tags around existing cat photos text, Then add href attribute with the value link provided in the instructions within your anchor opening tag. @williammigoya0
Hi.
At this point, I’d suggest you reset the lesson to regain the original code, trying to correct the current one will be time-consuming. After that, only nest the text cat photos in an anchor element. This syntax will help.
anchor tag is <a href="YOUR LINK">YOUR TEXT</a> so youu need to put the “cat photos” text between <a href=""> and </a> lemme know this fixed your problem
Don’t be worried, this step gives problems to a lot of users, you’re not alone. It’s normal to feel that way.
The links you provided do not point to your code. User Ctrl + E then paste your code in the ticks.
<p>See more <a cat photos href="https://freecatphotoapp.com">cat photos in our gallery.</p>
Can you give me the hack here, it is like I
am already confused
I’ve quoted your post in full so we can see the code.
The words “cat photos” should not be inside your opening a tag – you can remove those from between a and href. Other than that, your opening a tag looks correct. Leave everything else.
Next, you need your closing tag – it’s structured as </a> and should be placed immediately after the word “photos” and before the rest of the sentence, " in our gallery".