I also think having access to past challenge solutions on our profile is important. I think having the challenge code show the solution is less important, but helpful if it’s possible.
I can only find these issues in GitHub:
- Can’t access previously saved/ completed challenge solutions on learn.freecodecamp.org platform
- No solutions and certificates
- Give hint button missing, solution button missing, lost submitted code/streak.
I wonder if the solutions not being accessible has anything to do with: Announcement: Viewing and sharing solutions from user profiles is temporarily disabled. That issue was resolved and I remember seeing the solutions on the beta site in my beta profile.
Looking into closed issues, I found Update way we store solutions and completed challenges on user records:
“completedChallenges” an array of objects that have:
- challenge id
- timestamp of completion
- Solution (if an algorithm or a project (challenge type 3, 4, 5))
I wonder if that last bullet point means that most challenge solutions will no longer be shown/saved?