Why when i click this button can't work, why my javascript code can't work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why when i click this button can't work, why my javascript code can't work

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

2nd Sep 2021, 8:59 AM
EsaKurniawan
3 Answers
+ 4
Dont use 'click' as the function name, 'click' is a general event name.
2nd Sep 2021, 9:13 AM
Ipang
+ 1
Ipang thanks man it's work now
2nd Sep 2021, 9:27 AM
EsaKurniawan
+ 1
No problem 👌
2nd Sep 2021, 9:29 AM
Ipang