How should a secondary school student manage his time with coding and school work

How should a secondary school student manage his time with coding and school work