This mini project counts how many times a button is clicked.
It helps students understand event handling and dynamic value updates.
Click counters are useful for likes, votes, and interaction tracking.
Logic of this project:
- Set initial counter value
- Detect button click
- Increase counter
- Display updated value
This creates a button and an area to show the count.
Each button click increases the counter value.
Learning Points:
- click() event
- Variable usage
- text() method
- Real interaction logic