Seven distinct working examples of different user events for invoking a function.
Event 1: Double click the paintbrush icon to change the div color.
Event 2: Focus the text input by clicking inside the text box.
Event 3: Enter the green box with your pointer.
Event 4: Mouseover the yellow box with your pointer.
Event 5: Type the word 'cat' (just invoked by the character 'c').
Event 6: Select trick or treat from the dropdown below.
Event 7: Drag the blue ball.