Here is me taking a spin at making a simple game in JavaScript.
I was following this tutorial:
2D breakout game using pure JavaScript, https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript
https://davinaleong.github.io/Learn-Breakout-JS/
Destroy all bricks to win. You lose when the ball hits the bottom canvas 3 times.
Move Paddle: Left/Right Arrow keys or Mouse