Try to have a goal you want to accomplish. For example, while I was still learning to program, my goal was to make something like the ones you would find on chrome experiments. Having a goal not only gives you direction, it gives you something to look forward to.