Learn HTML by Building a Cat Photo App - Step 12h

Tell us what’s happening:
Describe your issue in detail here.
i am having difficulty in completing the step 12 .
its giving me an error message .

‘Your code should only contain one anchor (a) element. Remove any extra anchor elements.’
am comfused pls help

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
<a>Click here to view more cat photos>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.71

Challenge: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

Click on reset and then make these changes
Rather than using ‘a’ tag use ‘p’ tag


good day and thank you for your responds, I can’t find the solution yet, did you removed it?
please i will appreciate if i can get it back thank you

The href attribute is supposed to be within the anchor <> symbols, also there should only be one anchor element surrounding the words “cat photos”

Hi! Your code should look something like this:

Click here to view more cat photos.

[You want to put cat photos after you insert the new anchor element. ] So start off with a paragraph tag insert Click here to view more then insert the new anchor element( DON'T FORGET THE href AND the = then insert the"" by just adding one you'll see it'll automatically put two quotes. after adding in the requested link close it with > and then add cat photos , close the anchor element then with close the paragraph tag! I hope this helps! Happy Coding!

Please do not ask people to share their solutions.
We have removed the solution because that does not fit into our mission of helping learners learn to code and be independent learners.

It is not a problem of showing the solution, but of formulating the task. So solutions must be shown. This is how children and adults learn from the first grade. Because there is no logic in the tasks and there is no connection with what can be done or what happens. The same as give the first grader a task
2 ? 2=4. What sign should you enter? Will not figure it out. That’s why so many pointless auditions have been created for this task. And because the tasks are created by professionals in the field and do not understand the learning process of children. Instead of giving more examples of where it can be used and what it comes out of, everyone now reads right and wrong posts until you end up losing logic altogether, and when you solve it, you still have no idea what you did. People learn through correct examples by copying other people, just as two or three-year-old children learn to speak any language by watching their parents. And repeating and repeating the same word 1000 times… We learn not by searching, but by observing.


So in this step - Learn HTML by Building a Cat Photo App - Step 12, I counted 200 requests (it is pointless to count further to conclude that the problem is in the wording of the task). And can not show the right way? And this is already very communist…

1 Like
  1. Reading error message is most important job of any developer

  2. Google “what is anchor tag” and you will find the answer

Maybe the problem is with this individual exercise. It is poorly phrased/worded. Just look at how many threads are on this step alone.
I am a former educator that knows programming and it took me a second and a re-read to figure out what was being asked. For people just starting to learn programming, bad exercises just kill motivation and make people want to quit.

Yes, if they just reworded it/showed an image of what it is supposed to look like after you change it vs before… It would save a lot of frustration and mod time.

we have had a lot of discussions on how to improve this step for learners.
Unfortunately fcc cannot use a visual tool (as much as it would help) because we want to adhere to accessibility standards. If you have ideas on how to reword the step, please feel free to discuss them by opening a topic in the Contributors sub-forum.
Please understand though, there is a few things you may not realise about the design here so keep an open mind in any future discussions.