37 Answers
New Answerhttps://code.sololearn.com/W92TXQXq4Wxx/?ref=app
12/4/2020 3:18:45 AM
Jeremy Cruz37 Answers
New AnswerJust change the link https://dl.dropbox.com/sh/4vrw238llz4kbz/AADuOnH34ZIYUKU1MJtEGua
Jeremy Cruz You are trying to access/fetch the link which is blocked from the origin! πππͺ try to right the sentences in one line! You are breaking even one answer in 7-8 parts Hope you both understand π
Jeremy Cruz just cover your JavaScript with ``` window.onload = () => { // Your code goes here } ```
Jeremy Cruz it might work on your device but it doesn't work in my device Implement my previous comment and cover the JavaScript then it will work in every devices
Krish but it's a little strange, I mean, a few days ago I tried to use the 'add.EventListener' in my code, but it didn't work, Why?, idk, but it told me that the 'Event' was "property of null", so I fixed in my HTML, but if you said that, then I'll try it another occasion.
Ariel 983 you have to cover your JavaScript in window.onload = () => { // your code goes here // remember not to add any functions here (I am saying this with experience) then it will give you an error as here the function will be wrapped inside another function i.e. window.onload function. } then only it will work as your JavaScript gets executed before your html loads and every html selected items i.e by id, by class, etc... returns null.
to get the html code from https://www.dropbox.com/sh/4vrw23c8llz4kbz/AADuOnOaH34ZIYUKU1MJtEGua?dl=0
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message