I do not understand why it does not recognize the link as “working”.
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
Click here to view more cat photos .
My code (as it was not pasted in the post (for some reason)):
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href="https://freecatphotoapp.com"> cat photos </a> . </p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
In future please link to the lesson, it makes it faster to check your code.
I’ve noticed there’s some extra spacing inside the link each side of the two words and where the full stop is. I’d try removing that as the lessons are very particular about word spacing.
Thanks, but I’ve not been able to identify the extra spacing.
It’s in this bit
> cat photos </a> . </p>
There’s an extra space before and after the words ‘cat photos’ and after and before the full stop. When I remove them your code passes.
I have code as
Click here to view morecat photos
No spaces believe “nest” is correct, however it still says incorrect