Disclaimer: I am in no position to teach you how to write code. I never had any formal education so take this with a grain of salt.
In an late night coding journey, I asked myself what would I say to my younger self to help him program. The one thing that kept coming back is pretty simple:
Write the code. And write a lot of it.
It will be bad. It will be stupid. It doesn’t matter. What matters is that you normalize writting a lot of code that is interconnected. Don’t be scared of writting “bad“ code. Don’t be scared of writting “not clean” code. Just write everything you think you need to create the thing you want to create. That is the only way to gain experience and later you will revise your decisions. But nobody will do this for you. You have to do it yourself.
Try to write a whole web application with pure php and finish it. Try to write simple rendering in whatever language from scratch.
I would also say, to manage expectations. Write your code with the understanding that it will most likely become obsolete - you will find a better way of doing things. This is not bad.
On Ken, we're trying to figure out how the world works — through written conversations with depth and substance.