I'm sorry but the fact that you need a pre-loader means that you're doing it wrong. I hate those because after the pre-loader disappears you will typically see a simple site. It's a clear sign of bloat on your site.
However, if you collect a lot of data to display, you might want to render a placeholder where the data will be shown when it is available. Like Facebook does.
Actually, what I'd do is display the loader before anything else and wait until window is loaded and then hide the loader. That is the real way of making a loading screen.
I'm not done making this project yet, but you can see the loading screen and how it disappears once the window is loaded. prototrondev.leviathancoding.repl.co/
Made a web site in 90s, but it's now corrupted, but I am having a trouble doing a new one. I need a preload .gif bad but I emailed a dozen coders and non would do it for me. So I have to do it my self
First I don't understand where in the code this goes. I tried it is two different places and when I preview it all that happens is there is code across the top of the index page.???
We're a place where coders share, stay up-to-date and grow their careers.
I'm sorry but the fact that you need a pre-loader means that you're doing it wrong. I hate those because after the pre-loader disappears you will typically see a simple site. It's a clear sign of bloat on your site.
However, if you collect a lot of data to display, you might want to render a placeholder where the data will be shown when it is available. Like Facebook does.
See cloudcannon.com/deconstructions/20...
Actually, what I'd do is display the loader before anything else and wait until
windowis loaded and then hide the loader. That is the real way of making a loading screen.I'm not done making this project yet, but you can see the loading screen and how it disappears once the window is loaded.
prototrondev.leviathancoding.repl.co/
My own did not work the loader work but did not dissapered later it just continue loading
You have done something wrong in the code . I am sure it will work just try once more.✌️
I did it correctly or is it because I did not link java script to my project
You have to link JavaScript to make loading finite...
Okay am going to try it now
say no more projects.lukehaas.me/css-loaders/
Thanks for this will definitely try to implement.🌝
Another good option is to make your own CSS-made loaders with keyframes.
Thank you @amitthakur11 . This is working for me.
Nice work!! Need to work on my portfolio now 🙂
it doesn't need JS to animate.
First I don't understand where in the code this goes. I tried it is two different places and when I preview it all that happens is there is code across the top of the index page.???