👏 great read! I'd like to add that a tiny base64 image can be a good blurry preview image which can be embedded in the html saving on round-trips for the previews or alternatively blurha.sh (used by e.g. Unsplash) which is similar but a little more involved.
And also consider addint a <noscript> with a decent version for when JS is disabled or fails for whatever reason, degrading loading but improving the UX 😉
A well written article David Jaja. Intersection Observer is amazing. I have written an entire article covering various use cases of intersection observer with multiple demos: bit.ly/3TJOPu8
Amazing article, this was very helpful with going into details and explaining everything so well. Thank you
Abhinay Kumar
Hello, The question is not about lazy loading. Just wanted to ask u a question .I don't know how to approach JS projects.. totally confused. I was a beginner. Can u give me any advice??