The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Please explain what I am doing wrong, it doesn’t seem to be working as expected
Thanks-you so much, sir.
I really appreciate the explanation!
I’ve made some changes. Using parseFloat() in case you get floating point numbers: 2.45 + 4.56 for example… parseInt rounds the total, not what we want… we want precision.
Here’s one using form, have fun: http://codepen.io/alenabdula/pen/ziGvb