Troubleshooting JS on Arduino IDE

Help, I'm clueless about this rn.
When I create Website to integrate to ESP8266, I can open the Website but the function doesn't work (I have connected the database from Firebase to javascript) and it didn't show, firstly maybe that is because the function didn't work, so this website cannot reach the Firebase.
but, before that I use VSCode the function and the firebase work well. does anyone know to solve this? Thank you.

some references I use:

the Webpage Code:



why would you post an image of text... really ? I just don't get that...

just in case other people see where's the mistake. and well, the code is too long I don't have idea

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.