+ 1
Please can some help me out? I don't know why am getting the error and hiw to fix it.
2 ответов
+ 3
Mishin870 thanks bro i appreciate alot
+ 1
Your problem is that the element #wss is loaded after you get it through document.getElementById(). So it is null.
Working version: https://code.sololearn.com/WcUZJDToJe1L/#js