fix: add dynamic output for legacy challenges
fix: add dynamic output for legacy challenges

Co-Authored-By: Randell Dawson <2650ee21e1a1e3708c8d05979daf88893d9a1e98@users.noreply.github.com>

raisedadead/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,raisedadead/FreeCodeCamp,jonathanihm/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,jonathanihm/freeCodeCamp