How Can I make a loading screen in JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How Can I make a loading screen in JavaScript

23rd Jun 2018, 8:09 PM
Godwin Nicolas
Godwin Nicolas - avatar
2 Answers
23rd Jun 2018, 8:34 PM
Sergiy Stupar
Sergiy Stupar - avatar
+ 1
Just a quick idea. With JQuerry there is this $( document ).ready() function. This function executes when the doc is fully loaded. So use your JS to display a loading screen and let the document.ready function remove the screen. Hope that helps you and you can figure something out? Edit: Or we just post the copy + paste answer =/
23rd Jun 2018, 8:18 PM
Louis Paul
Louis Paul - avatar