Resource optimization with the intersection observer
🐌 Plain
🚗 With getBoundingClientRect()
🚀 With intersection observer