0
Why is it not showing the variable money on #amount?
3 ответов
+ 2
Lego in Motion
click is already a reserve function so change your function with another name
Also when you call function from html contents then function definition should not be inside window.onload function
https://code.sololearn.com/W2PKstjl3D53/?ref=app
0
Thanks but it doesn't show money + 1 every time you click.
0
Lego in Motion
I said change calling function name 'click' to another name. Money will increase.
In html, function should be inside double or single quotes