Hey guys, I’m new to HTML and I am stuck on problem 12. The objective is to turn the word ‘cat photos’ into a clickable link, which I have done. However, my issue lies with the href. It says the href value should be https://freecatphotoapp.com and that I’ve either omitted it, or have a typo. But I’m not seeing that?
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 <a cat photos</a> <a
href = "https://freecatphotoapp.com">cat photos</a> in our gallery </p>
<!-- User Editable Region -->
<a href="https://freecatphotoapp.com">link to cat pictures</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
I don’t think i’m understanding correctly. So I’ve done as you stated. I reset the code and I added the anchors so it looks like this: <p>See more <a cat photos</a> in our gallery.</p>
then I added the href
<p>See more <a cat photos</a> in our gallery.</p> <a href= "https://freecatphotoapp.com"></a>' and it’s still showing the same message. I made sure not to split anything either this time around. I even went ahead and tried changing the location of the href to be inside the p element.