+ 1
Why when I delete "parseInt" the code doesn't work correctly??
7 odpowiedzi
+ 4
Because the input element's value is a string, so instead of add the values, it concatenates them
+ 2
Ok underestood
+ 2
Thank you
+ 2
Excuse me can you make an example with parseInt??plz
+ 2
thank's
+ 1
Sure, give me one minute