Being right before one's eyes or imminent/close at hand; used to indicate something very near in space or time.
合格は目前だ。最後まで諦めないで。
Passing is within reach. Don't give up until the end.
目前に迫った締め切りのために徹夜した。
I pulled an all-nighter because the deadline was approaching.
山々が目前に広がって見える。
The mountains spread out right before our eyes.