Player Movement Bug (really beginner baby )

https://preview.redd.it/wynbspr32wge1.png?width=708&format=png&auto=webp&s=fab5d246d13c30c3cc99d9eeed740e55436445b9

Hi good day .   I just 100% copy the code from yt video . And I came across a bug. I wish for your help please.  After I setup ground wall, and the ball .  And try to make the ball move . It move only in the left and right direction , but the forward and backward key won't move .   Below is the code .