So maybe it's not that learning online is a better method but that you found better teaching material and online is obviously a easier method to do so?
No, I mean it's a much better method. I can start when I want (not Monday morning, 8 am), I can make a break when I want (if just to google something that I didn't understand), I can repeat stuff that I didn't understand at first, and I can continue with homework directly after the lecture (I don't have to switch rooms and thereby mental context).