how to event handler in js code example Example: most used events in javascript most used events in javascript