+ 3
My JavaScript editor is not working here on sololearn..it brings out message like example-"cannot set addEventListener of null"
Javascript Editor not con ecting woth Html and Css editor on sololearn
13 Respostas
+ 2
It's working it's that JavaScript loads first. You can write your code in that function and it will work đ€đ€
window.onload = function (){
//
}
+ 2
Abdulrazaq Haroon Do it now you see it will work
True or False ?
+ 2
onload=()=>{ //debug
const blueButton = document.getElementById('blue-button');
blueButton.innerHTML="Its working"; //debug!
}
+ 2
Thanks Vasiliy your solution will also workđ
+ 2
Abdulrazaq Haroon đ
+ 1
and what should your program do?
+ 1
I'm not through with it yet...the final product should change the background and text as in day light mode and Night vision(black background and green text color)
+ 1
at first glance I don't see any references to css styles in the program anywhere. please, end your code
+ 1
Qudusayo ill try this
+ 1
Qudus thanks alot Qudusayo it worked
+ 1
ĐŻŃĐŸŃлаĐČ ĐĐ”ŃĐœĐžĐłĐŸŃĐ° (Yaroslav Vernigora) thanks alot, I've gotten a solution
0
You can show your code here?