Making your child attentive in online classes requires a combination of both parental and student effort. As the parent, you should help create an environment conducive to learning, such as providing a quiet workspace and eliminating distractions. You should also ensure that your child is well-rested, has adequate breaks, and stays hydrated.