This is the difference between online and offline, you can understand the reference!
Online: class is convenient, so you don't have to run back and forth, which saves time and effort, and of course reduces the risk. As far as programming teaching is concerned, all kinds of conference or remote classroom software can fully support teaching, and another advantage is that video can be played back; The disadvantage is that there is a lack of communication between lecturers and students outside the language, which can't guarantee children to stay focused in front of the computer;
Offline: It's a little troublesome to attend class, but I think the teaching effect is still better. It has a classroom atmosphere that is not available online, so it is impossible to play back the review.
Of course, you can also choose to teach yourself, provided that you have strong learning ability and self-control! Here I recommend some free study materials (Baidu), and I also recommend going to official website to see courses of interest, both online and offline, and there are activities from time to time! ~
I hope it is helpful to you and I hope to adopt it ~