A serious answer to your question would be basically what Aevin linked. A more silly but still kinda serious one: you gotta write some words down on a notepad and cross your fingers that they're good ones. They won't be. Either because the compiler doesn't like it cause it's written wrong or logic doesn't like it because you planned it wrong. One of the two will happen and you will wonder why. At this point you dig through the documentation, and maybe ask a few questions on the Discord and eventually spot that dumb mistake you made and make some incremental progress towards a larger goal. And it will feel great. On some level you've gotta learn to love that act of repetition and incremental progress (or be just insane already), else you will go mad. It's not for everyone.
Also about that thing I mentioned about asking questions on the Discord...Structure and organization are more important at times than the thing working. If you want to learn, you gotta ask questions. If you want to ask questions, you've gotta have people be willing to look and listen and not have their eyes start bleeding out their sockets. Some consistent indenting and the occasional clarifying comment can go a long way.