FNF In Java?

Hello, I was wondering if anyone here knew how to code Friday Night Funkin’ in JavaScript. I’m just asking for pointers, since I know a little JS, but never programmed a game before.
I heard you could program FNF in JS, so I’m gonna try. Just need a little help…