I created a simple program that make the sum of two numbers BUT.. the program is concatenating instead, This is so confusing! Can anyone help?
Here value gives you a string, hence the concatenation. Try parsing it as an Number instead:
value
var sum = parseInt(numberOne) + parseInt(numberTwo);
See the demo fiddle.