The best tip I've seen for learning programming is to code along with videos, while also trying to predict what the presenter will code. Doing that allows you to get going quickly without too much frustration. I like that I can experiment and ask myself questions but still have a working program at the end.
The article I read about this is at https://medium.com/learning-new-stuff/a-simple-technique-to-...