Confetti in JS?

I'm coding a cool game and when the user wins there is confetti. The language is HTML/CSS/JS. However, I suck at JS, and I don't know how to create a JS confetti effect. Everything I searched up on Google seemed to be in Node.js, so I'm asking you guys here, I really need help, so thanks so much.

You are viewing a single comment. View All

I made this repl.