The antecedent in the following sentence is students: Students in online classes have to be organized to keep up with their assignments.

That's correct.