This example uses the addEventListener() method to attach a "keyup" event to an input element.
Press a key inside the text field and release it to set a red background color.