[Help] adding roll buttons to 5e statblock generator?
i'm looking to make a generator to store ttrpg stat blocks, and use buttons to roll ability checks, saving throws, etc. the 5e stat block generator template with the drop-down menu seems like a good starting point, but since the cards are generated on the fly rather than being static in the html, i don't know how or where i'd put the code together to add buttons with little output fields below them for the rolls to go.
thank you in advance for helping! i'm very grateful for the help i've received so far and for any i receive in the future! <3
this is the generator i thought would be a good starting point: https://perchance.org/stat-block-with-drop-down-example#edit
by default, it has the ability to display stats within the cards, but i wouldn't know where to begin in editing the code of that to include buttons for rolling with the modifiers of the inputted stats.