Tell us what’s happening:
I have looked at step 11 and copied exactly how the format is but it is still repeatedly saying ’ The link’s text should be cat photos . You have either omitted the text or have a typo.
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 href="https://freecatphotoapp.com">See more cat photos in our gallery</a></p>
<p><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
What do you think the text of the link is in your HTML above? (The first link, inside the first p element.)
Also, don’t make any changes to the existing link under the p element. You wrapped it in a new p element and changed its link text. You don’t want to do that.
You might want to restart the step to get the original HTML back and then only do exactly what the instructions ask and no more.
Yes, you are right. I have viewed the linked challenge, after the topic’s title, and it seems to me that the code in question is copied from the previous step and pasted here just like that. Now, I see it is about a different issue…
I still dont get it my code right now is :<p><a href="https://freecatphotoapp.com">See more cat photos in our gallery.</a></p>' and its saying The link’s text should be cat photos. You have either omitted the text or have a typo.`
You are close. Your link text should only include the text “cat photos”. There should only be one space in that link text, between the word “cat” and the word “photos”.
It says this now: After nesting the anchor (a ) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element. This is the new piece of html: <p>See more<a href="https://freecatphotoapp.com">cat photos</a>in our gallery.</p>
Above is what the text in your p element looks like on the page. Do you see that you are missing spaces between some words? I said you didn’t want extra spaces inside of the link text. But you still want them between the words in the sentence