This example uses the addEventListener() method to attach a "reset" event to a form element.
When you reset the form, a function is triggered which outputs some text.