Uncaught TypeError: Cannot set property of null (setting 'innerText')

preview_player
Показать описание
I got this following error while running the JavaScript. Uncaught TypeError: Cannot set properties of null (setting 'innerHTML').

I solved this using two ways:
1.You have to place the script below the div tag.
Рекомендации по теме