The big key for this level in in the Hints. Pender has a special ability that will help you out a lot on this level that they want you to use.
I noticed that your code is in Python and not JavaScript, curious why you prefer JavaScript when your code is currently in Python.
As a last note to help us help you, please include an explanation of how your code is not working like an error message, or how it is not completing the level so we can quickly diagnose the challenges we can help with.
Brooksy didn’t “hack”, you can tell Python by their indents, and Javascript by their brackets
It is functional for other people but might not be functional for you. I really suggest you write your own code, because it is a better bet to write the code yourself so you can see what went wrong and learn in the process. If you just copy and paste from other people, you won’t be able to learn anything.
Thanks,
Lydia