You can remember the meaning of 眼镜 with this easy mnemonic:
The spectacles completely cover your eyes (眼). I feel like I'm looking into a mirror (镜)!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.