12. Mini Project — Counter
Ab tak ka sab mila kar chhota counter app.
Is chapter me cover hoga:
- plan
- HTML structure
- JS logic
- practice ideas
1. Project idea
Ek number screen pe, do buttons: + aur -. Click pe number badle.
Isme variables, DOM, events — teeno aate hain.
2. Steps
1. HTML: number dikhane wala element + 2 buttons
2. JS: count variable
3. click pe count++ ya count-- aur screen update
Practice — counter app
Run karo, + / - try karo. Phir khud Reset button add karne ki koshish karo!