I agree with POOGLIES and add that you should check out Coyote Time and Jump Buffering. Every platformer needs those nowadays, otherwise it feels off. Good luck with your development!
Check this out, try to figure it out itself (it's just holding one bool for a few frames/milisecs) if u can't, there's a multum of tutorials (not recommending to follow them though)