Freecodecamp: In some situations 404 flash message is too wide

Created on 9 Mar 2018  路  5Comments  路  Source: freeCodeCamp/freeCodeCamp

learn_to_code___freecodecamp

The URL I visited to cause this was http://localhost:3000/en/challenges/javascript-algorithms-and-data-structures-projects/palindrome-checkers but any invalid challenge URL should produce this effect.

help wanted

All 5 comments

@QuincyLarson I'll take care of this.

@QuincyLarson When I was working on this, I realized that clicking on your current challenge takes me to an unexpected page. It should direct me to the challenges.
Adding URL to map will fix this. Patching it with my incoming PR.

I was the person who submitted a PR (#16720) to add this NotFound page when users access an invalid challenge. Wonder if this is still an issue so that I can jump on help?
Also, for the "your current challenge" link, right now the code take me to another Not-Found page
wronglandingpage

But when I changed my code with added language path like this:

screen shot 2018-03-19 at 10 13 06 pm

,the code works (clicking on 'your current challenge' leads me to the current challenge I'm on).
Please suggest me a way to fix this and I can submit a PR.

@anhtran1906 I QA'd and merged this before I saw your comment. Does the current functionality that @vkWeb created in his pull request address your point?

@QuincyLarson Yes it does. The PR looks great! Thanks!

Was this page helpful?
0 / 5 - 0 ratings