+ 1
Why am I getting error on line -23 when clicking on the background to run change();?
13 Respostas
+ 2
This is because your trying to use the Dom element before the Dom element is loaded. so you should include all code in an onload event so that all your JavaScript code is Run after the window is loaded
https://code.sololearn.com/W790JVp1ridD/?ref=app
+ 3
Ok
+ 2
Your welcome...
+ 2
Can u please say what is the goal of this site so I can help you..
+ 2
I would like to help you.. but when I run there are no errors.
Check my code....
+ 1
Thanks, I appreciate it!
+ 1
So, I tried adding an event listener on DOMContentLoaded and also tried adding onload to body tag, but I still get the same error.
+ 1
To have custom bangs. For example, insted of going to instagram and searching for a specific user, I just type “!ig username” and it takes me there. the same can be done with multiple sites.
+ 1
Ok
+ 1
So what is the problem that you want to fix right now.
I am going offlin, back online tomorrow
+ 1
I’m getting an error on a negative line.
+ 1
still happened with the onload code you sent.
+ 1
All good, thanks. I decided to make it different. I’ll just fade in.