Question · JavaScript and TypeScript course · Module 8: Events and the DOM
MutationObserver
What changes does MutationObserver react to?
Answer options
- To scroll position changes
- To changes in JavaScript memory
- To changes in the DOM tree (adding/removing elements, changing attributes)
- To changes in browser window size
You can check the correct answer by solving this task in the CodeWorlds game.