Help with Weather App needed,please. On document ready issue

Hi, all! I’m working on the Local Weather App, and almost finished. But I’m trying to figure out how to deal with the delay of resource uploading issue. I’ve tried to wrap the code in on document ready, but this didn’t work - the picture and the icons are still loaded with the delay.
Could you, please, point out where to read about this issue and how to fix it?
Also, general feedback on the app would be very helpful.

The delay is unavoidable. When you’re able to host apps on your own server, or if you pay for CodePen Pro, you’ll be able to host your resources on the server, which will cut this loading time down to make it imperceptible.

Thanks! You saved me a lot of time, so I won’t bang my head on the wall with this issue :smiley: