It looks like you're new here. If you want to get involved, click one of these buttons!
<style> <button class="content">Fight</button> <button class="content">Bag</button> <button class="content">Pokemon</button> <button class="content">Run</button> </style> <<set $elements = document.getElementsByClassName("content")>> <<for _x = 0; _x < $elements.length; _x++>> <<set $elements[_x].style.fontSize=$myFont[_x]>> <</for>>Removing the style shows the buttons all the same size, while adding it gives an "undefined function" error.
Comments
I'm close but no cigar. the button isnt changing in size.
If I understood state.variables better perhaps I'd give another knock at doing this the other way I had planned,
Edit: I tested <button> with <<button>>and found them interchangeable for my means. it seems to not change the code much to my untrained eye if i double up on the <,> signs , thankfully.