@RodrickSage the best way to learn code is making video games, solving impossible problems that dont exist , highly recommend you learning using courses, go on udemy , ur first time there , they will offer you dirt cheap prices , learn unity c# .
structured learning is best