Why you’d want to use service workers, what they are, how they work and what is the difference between service workers and other workers in the browser
Let’s see how to use Intersection Observer API to determine whether the DOM element somehow intersects with the viewport, or another element