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 -->
<p>Click here to view more cat photos.</p>
<a href="https://freecatphotoapp.com">click here to go to 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/106.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 11
Yes, it is obvious that you think your answer is correct when it is in fact wrong. That is not helpful information. Helpful information would be telling me why you find the error message confusing.
The error message says
Your anchor (a) element’s text should be link to cat pictures.
Do you understand what that sentence means? Is your text written here exactly what you were told to write?
Learning how to talk about code is hard. It takes practice.
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
A link’s text must be placed between the opening and closing tags of an anchor (a) element. For example, <a href="https://www.freecodecamp.org">click here to go to freeCodeCamp.org</a> is a link with the text click here to go to freeCodeCamp.org.
Add the anchor text link to cat pictures to the anchor element. This will become the link’s text.
<a href="https://freecatphotoapp.com">click here to go to link to cat pictures </a>
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
<a href="https://freecatphotoapp.com">click here to go link to cat pictures</a>