How can I implement the page loader in html file ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I implement the page loader in html file ??

Suppose ,I have written the code for the loader and I want to implement it before the main page loads .Where should I put this code to do so ??

16th Oct 2017, 6:30 AM
Sumit
2 Answers
16th Oct 2017, 11:19 AM
Calviղ
Calviղ - avatar
- 1
window.onload = function(){ //here }
17th Oct 2017, 4:35 AM
林偉雄
林偉雄 - avatar