That depends a lot.
A whole lot can be achieved using the most basic web languages like CSS,
other stuff is done using a canvas,
others even more different.
Generally, I can't tell you what 'most' use,...
Even thought you've not showed what you've attempted, this is quite straight forward. Firstly, you need to do list activate the ScriptListener - which records blocks of code for you.
After that it's ...