In my early days of learning web dev I would literally just go in straight up and start writing the first thing thats on my mind.Did it work for me? yes. Was it the best approach? No. Sometimes I would get stuck and spend hours on a basic issue mostly because I became burnt out.
After having one of my biggest code choke I resorted to writing pseudocode and I'm proud to say it's the best and smoothest coding experience. I currently love to spend an average of an hour developing pseudocode.
My favourite resource is resource