You can remember the meaning of 危险 with this easy mnemonic:
Did you not see the sign that said "Danger (危), Danger (险), Danger!"? It's dangerous!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.