On Step 12 On Responsive Web Design (The first course on https://www.freecodecamp.org/), when you type the - seemingly - correct code it will not let you pass the current question - or better yet finish the material.
The Question:
In the text of your p element, turn the words cat photos into a link by adding opening and closing anchor (a ) tags around these words. Then set the href attribute to https://freecatphotoapp.com/
The Default Code:
<p>See more cat photos in our gallery.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
My Alterations:
<p>See more <a href="https://freecatphotoapp.com/">cat photos</a> in our gallery</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
My Feedback From The FreeCodeCamp Site:
Sorry, your code does not pass. Keep trying.
The linkās href value should be https://freecatphotoapp.com. You have either omitted the href value or have a typo.
I have tried a lot of ways to work around this issue I am having. Please can you let me know if this is a known issue?
Hello and welcome to the community !
Yup, I think this issue is known as many others have already posted being stuck thereā¦
The address should be āhttps://freecatphotoapp.comā without the / dash at the end.
You seem to have a great eye for detail as this is an easy issue to miss. I think thatās gonna be very useful for when you are debugging code, Something which developers have do all the time !
No, you didnāt have to look at the āurlā as you had no way of knowing why it wasnāt working because your url was copied correctly. I meant that you copied the url correctly but the steps instruction was the issue and you figured that out:
so yeah its a known issue and youāve got a good eye, I also got stuck thereā¦
So anyway, well done on passing the step!