+ 2
Why is the click not counted and the page gets reloaded?
The aim to to count the number of times a button is clicked. Also I have used form tags. But the page only gets reloaded. https://code.sololearn.com/WynK8bkTkrnQ/?ref=app
1 Réponse
+ 4
Delete the Form tags.
Form is only used if you really send data to a server but not for dynamic website manipulation like you want to do here ^^