In order to stay consistent with your learning, you will need a lot of motivation and energy. Learning how to code or any type of skill on your own is different from being taught in a classroom by a teacher. You have no coursework, tests, exams, or a blank check to renew your motivation.
When the only choice you have is learning to code alone, you have to develop your own motivation for doing so.
@samanthabretous and @techgirlscode will teach you how to get motivated while learning code.