Challenge http://freecodecamp.com/challenges/waypoint-nest-an-anchor-element-within-a-paragraph has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
I used the following.
click here for cat photos
But, freecodecamp says my answer has the following error:
Your a element should be nested within your new p element.
You need to paste your code, the way you've written it isn't displaying how you've written your code in the challenge.
@psaradhi well, the error says it all. the "a" should come inside the "p" tag.
So probably it should be
<p><a href="#"></a></p>
Example:
<p> This is a <a href="http://www.yoursite.com">link</a></p>
P.S. : I am not gonna put the exact ans of the problem you are facing, it spoils the fun of solving the code on FCC. You should get the idea of your error. Still if you don't get it, post back here. I'll post the complete ans.
Best of luck. :+1:
I am having the same problem.
I have tried different variations but with no luck.
@CuMoose
<p>Click here for <a href="http://www.freecatphotoapp.com"> cat photos</a></p>
@shaikhatik0786
Thank you. I thought I had tried that earlier but I guess not.
@CuMoose no probs, just happy to be helpful
For any people visiting this page, the error is perhaps not related to the nesting in itself but to the url to the CatPhotoApp...
My wrong tags (but correctly nested):
<p>Click here for <a href="http://freecatphotoapp.com" >cat photos</a></p>
The correction proposed above:
<p>Click here for <a href="http://www.freecatphotoapp.com" >cat photos</a></p>
Thanks so much @dloret ! That was my problem and the only error read that I wasn't nesting properly. Saved my sanity ;)
Just in case anybody else faces the same problem. For me the order of the three paragraphs was important: the one with the link has to be the first one.
Hi all,
Per rockie667, I placed the link paragraph first and still getting an error. Can anyone offer any other suggestion? The only one that I have checked off as an error is "Your p element should have the text "View more " (with a space after it) and it does, but...
@kellymccain140 Github issues are not for challenge help. Please visit the Help Chat for assistance. Thanks and happy coding!
ok
HEy guys.
Works well if you simply enclose existing a element in p element
can pm example
_removed solution by mod_
I finally solve it! thanks 馃憤
Most helpful comment
@CuMoose