So i'm trying to add elements a table dynamically but im not sure how to add the value of the variable to the table. Heres my current code: code
and heres my current output: output
How can I get it to add the value of the variable instead?