This example uses the addEventListener() method to attach a "focusin" event to an input element.
Note: Firefox does not support the focusin event.