Describe your problem and how to reproduce it:
I found a broken link and can anyone tell me how can I fix it?
Add a Link to the page with the problem:
https://guide.freecodecamp.org/certifications/javascript-algorithms-and-data-structures/basic-data-structures/-iterate-through-the-keys-of-an-object-with-a-for---in-statement
Tell us about your browser and operating system:
Chrome, Window 10
If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
In https://github.com/freeCodeCamp/freeCodeCamp/edit/master/curriculum/challenges/_meta/basic-data-structures/meta.json there is a leading space for the title.
Basically, in challenge https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/-iterate-through-the-keys-of-an-object-with-a-for---in-statement/ under get a hint it leads to
instead of
how about changing the directory name?
from this:
-iterate-through-the-keys-of-an-object-with-a-for...in-statement
to this:
-iterate-through-the-keys-of-an-object-with-a-for---in-statement
same her broken link !!
Any update on this issue? I am still finding broken links in the same challenge > 'get a hint' button
It looks like the hint article is located at https://guide.freecodecamp.org/certifications/javascript-algorithms-and-data-structures/basic-data-structures/-iterate-through-the-keys-of-an-object-with-a-for...in-statement/
I think the hint button automatically changes any non-alphanumeric character into a -
so the guide article file name should instead use ---
instead of ...
And yes, as @jeremynofs pointed out, there is a leading space in the challenge name. We aren't quite ready to deploy the new Master branch, so we should just change the ...
into ---
at this point, then address the trailing space later - otherwise the guide and the curriculum will be out-of-sync.
Any takers?
I have created an issue to consolidate all of the broken "get a hint" link issues https://github.com/freeCodeCamp/freeCodeCamp/issues/35155
Fixed in beta
Most helpful comment
In https://github.com/freeCodeCamp/freeCodeCamp/edit/master/curriculum/challenges/_meta/basic-data-structures/meta.json there is a leading space for the title.
Basically, in challenge https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/-iterate-through-the-keys-of-an-object-with-a-for---in-statement/ under get a hint it leads to
https://guide.freecodecamp.org/certifications/javascript-algorithms-and-data-structures/basic-data-structures/-iterate-through-the-keys-of-an-object-with-a-for---in-statement/
instead of
https://guide.freecodecamp.org/certifications/javascript-algorithms-and-data-structures/basic-data-structures/-iterate-through-the-keys-of-an-object-with-a-for...in-statement/