This is brick breaker inspired game

This game was made in  1920x 1080 px but I had make it short to fit in the browser. For that you will see a couple of bug (ball stucking in one place and vibrating, cannot move the platform to the furthest corner etc.) Please pardon me as I tried very much but failed miserably to fix it but failed. (curse for a beginner)