You can remember the meaning of 闪电 with this easy mnemonic:
I saw a flash (闪) of lightning that knocked out the electricity (电) in the house.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.