It's just experience. You start with basics things. There's likely lots of game devs saying "how do you even get into web development, seems difficult as a dirty ol pixel pusher".
There's a lot of tutorials around. You can also join a game jam for some motivation / community.
If you want some friendly people to ask for advice and find examples/resources, I'd meta-recommend checking the Pirate Software discord https://discord.com/invite/piratesoftware There's lots of people there who are/were in a similar position and can help you out.
How the hell do people get into graphics programming or voxels? Seems very difficult as a dirty ol webdev