Print the number of times the button has been clicked to the bottom of the page in a specified container.
The area where the number of times clicked is defined. Local variable storage in the script has been reduced to a minimum.
- Using local variables
- basic DOM manipulation
on Codepen