I am in faver of both methods of learning and you can learn from both ways but I prefer traditional method.
First of all, I think is better method because you are face to face with your teacher. Secondly, you can change opinions with others in the class something that is important. Also you concentrate better when you are in class and keep your mind on the lesson.
Similarly online learning method is very helpful and easy because sometimes that you can’t go to your lesson you can connect from a application and you don’t have to lose your lesson. Beyond that, a dissadvantage of this method is that you can disconnect easily from the application or something else if you have problems with your internet.
However, the two options are interesting and helpful in some situations.