While reviewing browser lifecycle navigation, code needs the DOM before images finish. Which action fixes it, and which check proves it worked?
Answer options
- A. Wait for the window load event
- B. Push a new history state
- C. Wait for DOMContentLoaded
- D. Verify elements exist when the handler runs