Skip to content
Advertisement

How can I make a function divide the total money by the total of names entered on the button?

I only need a function so that I can divide #total by the total of names that were entered on the button. If you know the answer please help me, I’m a newbie in Javascript.

JavaScript
JavaScript

Advertisement

Answer

i hope this fast written solution helps you.

JavaScript
JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement