This game is taken from: here. This is an example of how js code could be added into the static page created with Elder.js and Svelte. Usually components are either static or hydrated, but there's a "third" way to use js code in a static component.

Press button to run js code!