A CodePen by andrewgunn. Delegated events