I am currently head-butting with the finance solution of cs50.
It seems I have managed to succeed with everything besides the history table, as when clicking on the h