+ 2

Why doesn't the findTheRemainder function work?!

https://code.sololearn.com/WZ1p0mcEjQ05/?ref=app

27th Jun 2019, 9:41 PM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
3 Answers
+ 3
Your HTML has: onclick="findTheRemainder" It should be onclick="findTheRemainder()"
27th Jun 2019, 11:00 PM
Daniel C
Daniel C - avatar
+ 3
Thx
27th Jun 2019, 11:02 PM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
+ 1
You forgot the "()" in the onclick at HTML button!
27th Jun 2019, 11:01 PM
Thống Nguyễn
Thống Nguyễn - avatar