0
I have a function was doesn't seem to pass parameters correctly
The first parameter sent to the function correctly but the second one does not. Please help https://code.sololearn.com/WA24zvT1u62G/?ref=app
2 Réponses
+ 2
you are not calling function properly. try :
<button onclick="numFunDistance(numX.value, numY.value)">Distance</button>
0
Thanks I will try it