I wrote a longish guide about learning to program from scratch using spaced repetition. I can't recommend it highly enough. It helps immensely in boosting you past the chasm of incoherence in the beginner stages when you are getting bombarded by unfamiliar terms. I included lots of example cards at the bottom.
https://experimentallearning.substack.com/p/functions-descri...