This is a nice start for a platformer. I would recommend taking a look at a few platform controllers to see how to implement some quality of life elements like jump buffering. This one is pretty easy to understand: https://github.com/Matthew-J-Spencer/Ultimate-2D-Controller
But overall, nice work!