Simon Project - Can you Help me Find my Error?

Take a look at this:

I’m trying to create event listeners to the 4 color squares, using the native tools, and a forEach iterator. Unfortunately it doesn’t work. Can u help me find my error?

Thanks in advance!

One error is in script.js file on line 119.

But the main error I think is that you are calling render() after brightening and debrightening, therefore you have re-rendered all elements and they now don’t have any listeners.