Use the addEventListener() method to attach a "focusout" event to an input element.
Write something in the input field and click outside the field to lose focus.