FWIW, I've heard/read that online courses are sometimes even better than in-person classes.
I think it depends on the person. For some people an online course works much better with their schedule. For others being in a live class makes them nervous, and an online class eliminates that "face-to-face" fear of exposure.
I think both online and in person classes can be great, but one undeniable advantage of an online class is that you can go back and watch the class again. And again. And again, if you want. That is an amazing tool.