Use the addEventListener() method to attach a "keyup" event to an input element.
A function is triggered when the user releases a key in the input field.
The function transforms the input field to upper case: