Excellent! This is exactly what I wanted to implement. Thanks!
@ChrisWalshZX Жыл бұрын
5:40 The removeChild() parameter shouldn't be in quotes. You are removing the DOM element, but a string that happens to have the same name.
@TheHassankhattab9 ай бұрын
Thank you so much. I'm not a coder, where can I find the source code of this?
@matuscesnak629911 ай бұрын
Bro, you dont know how much you helped me!!! thanks
@developershub20248 ай бұрын
Not only you, even me too!
@ajandresiwakwi9882 Жыл бұрын
this idea was really helpful thank you!
@ChrisWalshZX Жыл бұрын
Don't you need the spinner to appear when "leaving" a page as by the time the new page has started to load in and the "load" event has fired, you've already done most of the waiting? For a web portal, we need to sometimes do timely operations getting data prior to presenting the page (document) to the browser. Let me know what you think. Thanks.
@ahmedhemdan707 Жыл бұрын
Very simple and helpful thanks
@anondz238210 ай бұрын
Bro you helped me a lot , thank you
@developershub20248 ай бұрын
Thank you so much, very helpful content. i will implement this in my Django project!!
@raeesshahsani2 жыл бұрын
Hey there, the code is perfectly working, except for the statement where it is mentioned, document.body.removeChild("loader"); The browser would throw error: Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
@kamranbayramov81699 ай бұрын
thanks man short and useful
@maykolandres9280 Жыл бұрын
Thanks bro, it really helped me!
@iGustavoMaster10 ай бұрын
Thanks bro, Excellent !
@kortisnet2315 Жыл бұрын
loader--hidden is giving console error Uncaught TypeError: Cannot read properties of null (reading 'classList')
@Melissa-mo2mr Жыл бұрын
what editor you using ? vs code editor or ?
@webguy-jd3ml6 ай бұрын
great example - thanks.
@John-wx3zn Жыл бұрын
Thank you. I found that useful.
@techstreamm-16 ай бұрын
Thank you Great Tutorial
@lyricspower123 Жыл бұрын
thanks man! this video is very helpful
@InkTaleswithDuke Жыл бұрын
Can you help out My loader isn’t removing from the screen
@septionugroho2366 Жыл бұрын
same here, still spinning till now 🥲
@ranzethan9 ай бұрын
how do i set the loading time? because mine lasts very quickly
@mindacid32743 ай бұрын
do a settimeout
@sheikhfarid97152 жыл бұрын
Thanks Man ❤️
@shunfa652 ай бұрын
it's helpful , thank you. i 'v subscription too
@alalyrealestate1136 Жыл бұрын
thank you bro .. How to add it while sending form data to record it in mysql database via php script
@cedriic0 Жыл бұрын
Thanks bro, you helped me out
@VanyaSkeedan2 жыл бұрын
Brooooo Thank you, bro Very cool 😎
@geextrix15382 жыл бұрын
I keep getting errors on document.body.removeChild("loader"). Put my loader right after body and used this document.body.removeChild(document.body.firstChild). Great tut, btw.
@lucgoeman3046 ай бұрын
my spiner does not spin and sits in the topleft corner?
@popeyee_7877 Жыл бұрын
Can you show how I can put an image in the circle?
@johnnyvlee Жыл бұрын
Just a suggestion but a link to a working codepen would have been really helpful
@asalihab Жыл бұрын
That's great, thank you
@NiyomufashaProsper5 ай бұрын
Thank you bro
@benjaminaRandriantsoa7 ай бұрын
Thanks bro
@leonardflores62182 жыл бұрын
Thanks
@Manucraft982 жыл бұрын
Cool man thanks
@codefoxx2 жыл бұрын
No problem! and are you referring to lazy loading images?
@Manucraft982 жыл бұрын
@@codefoxx yeah, both lazy loading and skeleton loading (css) as a temporary replacement. That would be great!
@kyleryxn Жыл бұрын
Doesn't work me for, the loader appears as soon as the first page loads, without me clicking a link. Full source code wold help
@etsnr05 Жыл бұрын
that's the purpose of it, to work when any page loads
@booraq_pegazus3 ай бұрын
first thank you for this nice code and please give us a link of the code thank you in advance
@RCshiat Жыл бұрын
For anyone getting an error, just replace "document.body.removeChild("loader");" with "loader.remove();".