Use the right and left cursor keys to rotate. The Club ( the blue rectangle ) is moved by your mouse pointer. So use your mouse pointer to move it the white line on the club is the front where you can use that to move the ball.
Credits to Coding with Chris for helping me make this :) Here is the link to it - https://www.youtube.com/watch?v=Cq0XWpSpnxQ :)