I’m trying to make text into a link at step 63 on the html class. The directions are:
Step 63
Make the text freeCodeCamp.org into a link by enclosing it in an anchor ( a ) element. The href attribute should be set to https://www.freecodecamp.org .
It’s set up like this:
No Copyright - freeCodeCamp.org
I then input the following:
No Copyright - <a href="https://www.freeCodeCamp.org"></a>
And I keep getting the following error:
Your anchor ( a ) element should have an href attribute with the value https://www.freecodecamp.org . You may have omitted the attribute/value, or have a typo.
I have no idea what is wrong with this. I’ve tried about everything I can possibly think of. Thanks in advance!
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
You omitted out the actual text. anchor tag just gives the given text to hyperlink. You need to mention the freeCodeCamp.org(the text i was talking about) inside the anchor tag. Let me know if this helps.
Thanks so much for helping. I have tried numerous ways and just can’t seem to get it to work.
I’ve tried: No Copyright - freeCodeCamp.org <a href="https://www.freeCodeCamp.org"></a>
I’ve tried: No Copyright - <a href="https://freeCodecamp.org> freeCodeCamp.org </a>
I’m totally clueless at this point, and I’ve tried probably a dozen different combinations at this point. I didn’t have any issue at all previously when adding links, so I’m not sure what I’m doing.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
try to not capitalize the letter C in the link within anchored href and see if that helps and add www. as well of course
because the assignment asks for https://www.freecodecamp.org not ‘https://www.freeCodecamp.org’. It does sound silly but some assignments are a bit sensitively awry
No Copyright - <a href="https://www.freecodecamp.org">freeCodeCamp.org</a>
I did went back to capitalize C and that failed but uncapitalized has successfully passed the step. is it because there’s a space between the closing a element i wonder.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.