0
I want to sum and display sum with two number. i have error. Thanks you.
To sum two number with number2. https://code.sololearn.com/WO7uufAX2cXz/?ref=app
2 Respuestas
0
Malick Diagne
You are passing total element but pass only values.. and also convert to numbers before passing...
line. No: 24
addi.innerHTML = add (Number(paragraph.innerHTML),Number(paragraph2.innerHTML));
0
Line 7:
return Number(number.innerHTML) + Number(number2.innerHTML) ;