Real estate school

Did anyone do real estate school ONLINE ? how was it? Or would it be best to go to an actually in person class? I’m pregnant and due in late July so I don’t wanna go in person then go in labor . Also which online class did y’all take