おかげで・せいで: the difference
おかげでN3
Meaning
Thanks to, Because of
Past papers
Tested 8 times in past papers
Example
薬のお陰でだいぶよくなりました。
Thanks to the medicine, I got much better.
せいでN3
Meaning
Because of, Due to, Blame
Past papers
Tested 4 times in past papers
Example
トムは暑さのせいで気を失った。
Tom passed out because of the heat.
How to tell them apart
「おかげで」 is normally followed by a good result; 「せいで」 by a bad one, with blame: 「寝坊したせいで遅刻した」.
Exam questions hinge on the result: 「助かった」, 「合格した」, 「直った」 take 「おかげで」; 「遅刻した」, 「失敗した」 take 「せいで」.
Occasionally it is used sarcastically, like 'thanks a lot, now I'm in trouble'.