How can I make a button which counts clicks?

前端 未结 0 1231
眼角桃花
眼角桃花 2021-01-22 19:11

I want to create a button that is initially 0 with each click it becomes 1 then 2 then 3, etc. How can I do that with HTML CSS and JS?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题