You can surely do online classes on a tablet. Thanks to their portability and other features, tablets are the best devices for online courses, where you can use portability.