This is all relative to my personal learning abilities and experience. Some of my experiences may not be universal or all that common.
I personally learn
wayyy better when I'm physically in the classroom, listening and participating in the lecture helps me retain information better than reading the textbook online (although there are some people who prefer the textbook!). I also find it harder to concentrate in online classes because there are a lot of distractions at home.
Although, -given my experience from the recent spring semester- some classes are a lot easier online than on-campus, I guess it has a lot to do with what class it is and how your professor handles online teaching. (Side note: I love professors that do video lectures, I get more time to write my notes neatly :} )
I think both options are hard in their own way, but personally I think that online learning is more time-consuming and I don't retain the information as well.