event.target
What you'll practice
- Use event
- Target in a delegated click handler to update the clicked DOM item
- Even when a nested element receives the click
- This exercise clarifies target
- CurrentTarget
- Local state updates
Unlock full access
Choose a plan and go straight to secure checkout.
- All 600+ interactive exercises
- Full course curriculum
- Access to guided projects
- All future content included
Secure checkout with Stripe. Cancel anytime.