Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.
yes am having difficult in step 12
What part of the instructions or hints are confusing you?
You can see the words
cat photos underlined next to the image in the preview now. That’s your link; feel free to give it a click. In the text of your
p element, turn the words
cat photos into a link to
https://freecatphotoapp.com . When you are done, remove the old anchor tag and text below the paragraph.
You copy-pasted the instructions. That doesn’t really help me understand what part is confusing you.
We can’t write the answer for you; that’s against the rules.
It doesn’t look like you put the anchor element inside of the p element like the instructions asked.
hint is Hint
Your anchor (
a) element should be nested within the
Right. Have you tried placing the anchor element in between the opening and closing p tags?
Yes i have done that couple of times still didnt work
What does your code look like when you put the anchor element inside of the p element?
it’s looking like this
<p>Click here to view more cat photos. <a href="https://freecatphotoapp.com">cat photos</a></p>
That is closer, but you need to only have the text ‘cat photos’ once, not twice. You need to remove the phrase ‘cat photos’ outside of the anchor element.
I just got it now. thank you very much.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.