The advantage of online learning is better time management and flexibility. You could take the courses on your own schedule. Also online courses allow you to replay recordings and revisit materials so you can learn at your own pace. Also it is a great opportunity to adapt and enhance technical skills. Online courses facilitate virtual collaboration, using different new software and digital tools.
Hope this helps.
The great benefits of online learning is the flexibility and the type of learning. I think the one most important things to keep on mind in case you are considering to do online classes are: a dedicated space, a dedicated routine or time allowance and reliable internet connection.
Online Learning is up to the learner and the discipline the learner puts into the classes, however, it can be fun and a very great way of learning.
I hope this helped,
My Best Regards to you!