Trying to create an Intersection observer like class from scratch Explaination https://www.youtube.com/watch?v=BpMwse2xlMQ&themeRefresh=1 Article https://medium.com/@kamresh485/building-your-own-version-of-the-intersection-observer-a-step-by-step-guide-c58309627f88