I've been programming Java for 4 years. But I still don't have any useful tips for beginners. Maybe I'm just bad at explaining things?
Best I have to offer is not to get too upset when your program doesn't work right. Try to take breaks between projects. It helps you refresh your mind and when you get back you'll find it 30x easier to fix the bug.
I'm not a coder, but my advice works for pretty much anything (coding included): keep it as simple as possible. Make comments so you won't forget why you wrote down what you did, etc... The simpler something is, the less likely there's to be an issue/bug, and the faster you (and others) will be able to read the code and modify it when needed.
Working for almost ten years, the most useful thing I learned is that often, simpler, maintainable code is better than clever but complex ones. This is especially true if you're working for a superior with little programming knowledge, and changes their minds about things every few weeks
I have experience in vb and I'm currently learning C# I plan on learning other languages and assembly eventually. So Id say take your time and don't get frustrated if you don't understand something you'll learn it eventually sometimes you may have to have something explained to you in a different way that's why we have the internet. And keep calm when your trying to find a mistake i once had a > sign when I needed a < sign man it took me a while to find it I was so pissed haha when i was calm though I found it. Also comments lots of comments.