11th Apr 2022, 10:10 AM
Chris
2 Answers
+ 2
If you run this in SoloLearn app then you'd need to wrap that code in a "load" event handler https://www.sololearn.com/post/90825/?ref=app
11th Apr 2022, 10:29 AM
Ipang
0
Just wrap your code in- window.onload = () => function { ... }
11th Apr 2022, 12:37 PM
Arnav Gumber
Arnav Gumber - avatar