I have made a simple function to create an element when a button is clicked in JavaScript. How can I add to this function so that when the element is made it also adds a "price" value to a "total price" variable?
Aucun commentaire:
Enregistrer un commentaire