Quality Assurance Projects - American British Translator - Not pass testing when submit

Help!
When i run the project, all my test are pass in the console

Screenshot from 2020-12-22 21-51-49

But when i put the link project to the challenge and submit, all my tests are not pass :
Screenshot from 2020-12-22 21-54-06

In the console of the challenge page :

And ‘undefined’ appear in the console of project :

Screenshot from 2020-12-22 21-52-44

link my project: https://repl.it/@hadinhtu97/boilerplate-project-american-british-english-translator

** browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: American British Translator

Link to the challenge:

I found the solution at American British Translator all tests green but don't pass the test :upside_down_face:

please help me I am not able to define document
My repl.it link: https://repl.it/join/kgwmofdl-sainikhushi