Which example/quote foreshadows an event in the story?

How does the author create dramatic irony?

Example/quote: "The clouds are gathering on the horizon, a storm is coming."

This quote foreshadows an impending event of conflict or trouble in the story. The author creates dramatic irony by having the characters unaware of this impending storm, while the audience/reader is privy to this information and can anticipate what is to come. This creates tension and suspense as the audience waits to see how the characters will react to the approaching conflict.