You can remember the meaning of 眼前 with this easy mnemonic:
I saw someone's eye (眼) pop out of his head right in front (前) of me! I couldn't believe it even though it happened right before my eyes!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.