High schools adapt to distance learning