Does online school hurt or help?

i would like to consider dentistry and am open to in state or out of state colleges, i live in florida which is why i mentioned FLVS (florida virtual school), and it was covid and we were online and that subject i struggled with learning online, the one i failed was pre-ap bio in 9th grade, i passed bio in 10th.