Question · JavaScript and TypeScript course · Module 5: Advanced JavaScript
IntersectionObserver - Usage
What is IntersectionObserver used for in JavaScript?
Answer options
- Listening for clicks on DOM elements
- Asynchronously observing when an element enters or leaves the visible area
- Measuring page rendering time
- Manipulating CSS styles of elements
You can check the correct answer by solving this task in the CodeWorlds game.