WEB · DIGITAL WORKBOOK
JavaScript Events
Create a button that counts how many times it was pressed. Use an event listener and update the visible text.
Who it’s for
Beginners building practical web skills.
What you’ll practise
- Use an event listener and update the visible text
- Test mouse and keyboard activation and reset behaviour
What you get
A worked example, guided exercise, independent practice and a review checklist. Delivered as a text file.