This was made by following Chris DeLeon's Code Your First Game: Arcade Classic in JavaScript on Canvas on Udemy.
Link to course: https://www.udemy.com/code-your-first-game/learn/v4/overview
It can be played here: https://kwong2.github.io/pong/
You control the left paddle with your mouse.
ENJOY!