For a web app that has multiple buttons on a web page, we can define a single onclick handler by using the call-back function’s this keyword.
When a function is used as an event handler, its this keyword is set to the element that fired the event. (The event handler should be added to the button element using addEventListener.)
Download this Example: Buttons Demo