You can remember the meaning of 巧克力 with this easy mnemonic:
Oh, do you want some chocolate? Opportunely (巧) I have a gram (克) of cocoa powder, it'll give you the power (力) you need to keep working.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.