- 2
JavaScript not working
My function is giving answer NaN https://code.sololearn.com/WTeUaiEk0q07/?ref=app
2 Answers
+ 6
https://code.sololearn.com/W1o5H1LBF59d/?ref=app
it works
read comment on line 121
+ 3
Tht simply happens because you initialized PKR with the element, not its value. Add ".value" after you retrieved it.