Online classes and Pregnancy?

Do you think it’s smart to take classes while in second trimester?