Cannot read property 'addEventListener' of null | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Cannot read property 'addEventListener' of null

I've made a small app and was trying to upload it to SL however SL api allerted an error to "addEventListener" Code is working well on chrom and mozilla. Please let me know how to upload the code with "addEventListerner"

11th Aug 2017, 10:30 AM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
1 Answer
+ 2
copy your JS code to the Html itself by using script tag.. hope it may help
11th Aug 2017, 10:51 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar