+ 13
Plzz fix this code đ„ș [ solved ]
6 Answers
+ 3
There are two problems in your code
1- Script tag is in the head so it can't know what is document.getElementById("loader ")
2- you used document.getElementById("#loader") instead of document.getElementById("loader")
+ 8
Yes now working
+ 7
RDC it's still not working
+ 5
Use script in body if you want to do any kind of DOM actions.
https://code.sololearn.com/W11Ai24JHm99/?ref=app
+ 3
Now it should be.
You have to access classList property.
+ 2
The code RDC done is working but what you are trying to do is to hide the loader which what the code now is doing