What is a good method for learning programming?
I have been studying programming for about a month now mostly using books. It's going okay but starting to slow down and the content is getting much more difficult. I don't feel like I'm really learning as much as I should be. I've seen people saying all over the internet that "the best way to learn how to code is to just code". My question to that is this...if you're a beginner, how are you supposed to know what to code if you don't really have any experience coding? Are you supposed to read a little and code a project of your own based off of what you just learned? Then read a little more, etc... Or should you just learn the very basic syntax and start making your own projects, making them harder and harder as you go(referencing material only when needed). Any help on this would be greatly appreciated. Also, I'm open to any other methods that might be awesome. Thanks for your advice!