"…uses the destructuring assignment to get the key property from the event object → in the event listener parameter ← "
You are currently doing the destructuring in a separate line of code in the handler function. Rather, you want to do in in the parameter being passed into the handler.
You need to add an event listener to the global window object and pass the value attached to key in the event object to the callback function through destructuring assignment
remember that the event object is assigned to your parameter automatically. You don’t need an equal sign, just the curly braces and the key(s) you want.