Well, look and try to figure out other people's codes and make yourself challenges.
With challenges I mean some nice thing you'd want to do.
For example, I made a system which can print text without any text actors, I made an array which I defined all printable characters as 6 x 8 grid where 1 meant a pixel to be drawn and 0 meant empty pixel. Then just compare the string letters with the array and print the right character. That was a nice challenge to me and I learned more coding when I did it.
Also, try to write someone's code as your own version. I learned to make a typewriter effect by simply writing the exactly same code as pyrometal originally wrote. After that I spotted some things where I was able to simplify it.
Just keep coding something that challenges you and you will learn. Ask help when you need it in some really bad problem.
I wish this was at least a little helpful.
- lcl -