Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Please assist with step 12 on nesting the words in a new anchor
Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p> Click here to view more <a href="cat photos"></a> </p>
      <a href="https://freecatphotoapp.com">cat photos</a>
      <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; rv:105.0) Gecko/20100101 Firefox/105.0

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

Link to the challenge:

on this line of your code, you have a proper anchor element.
It has an href that contains a URL
and it contains some text that is becoming clickable as a link

Now let’s look at the new changes to your code:
<p> Click here to view more <a href="cat photos"></a> </p>
What is the difference between the anchor element you are typing here and the previous one?

This is the activity at step 12
In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by nesting these words inside of a new anchor element.

sorry I just edited my post as I realised I didn’t post the code properly.
I was trying to point out that you new code has some problems syntactically so take a look and compare again the new to the correct…

Please check the question against my suggested solution and advise.


can you try to read my post again?
If you have a question or something that I said that you didn’t understand, I can rephrase it.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.