Tell us what’s happening:
Turn the words
cat photos located inside
p element into a link using the same value for the
href attribute as the link below the
p element. The
p element should show the same text in the browser, but the words
cat photos should now be a link. Make sure to remove the
a element with the text
cat photos on the line below the
**Your code so far**
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href="https://freecatphotoapp.com"> cat photos</p>
<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/184.108.40.206 Safari/537.36
Challenge: Step 12
Link to the challenge:
The anchor element needs both an opening and closing tag. You are missing the closing tag. Also, make sure the tags only have the string “cat photos” in between them. An extra space before “cat” will cause the test to fail.
i have did the below acrtions but still the same
Click here to view more catphotos
We need to be able to see your actual HTML code. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.
Click here to view more cat photos
You didn’t quite follow my directions. Did you see the part about the triple back ticks?
<p>Click here to view more <a href="https://freecatphotoapp.com">catphotos</p>
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.