Tell us what’s happening:
The anchor text should be cute cats.
What’s wrong?
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg"> cute cats online!</a></p>
<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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 mobile information:
iPhone - iOS15.8.3
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Link to the challenge:
1 Like
Hey there,
Take a look at the text inside your anchor element. Is it “cute cats” only?
I put the online after the closing tag and it still wont work
You might have some extra spaces inside your anchor element.
What’s it suppose to be anyone??
Tell us what’s happening:
Says- The anchor text should be cute cats.
What am I doing wrong?
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>cute cats<a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg"></a></p>
<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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 mobile information:
iPhone - iOS15.8.3
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Link to the challenge:
Can you share your updated code?
The instructions did not ask you to delete everything else in the sentence. Also, the required text is not inside of your anchor element.
Thanks greats. I removed extra spaces
1 Like
ILM
February 3, 2025, 4:20pm
10
I have merged your two topics, please do not open multiple topics for the same step
JuniorQ
February 3, 2025, 4:42pm
11
You have to add the text “cute cats” inside the anchor element as the instructions tell you.
It also seems like you have removed the original text.
I suggest you reset this step and turn the words “cute cats” into a link using the anchor element.
Hope this helps!
cute cat text nest in between openig tag and closing tag of anchor elements