+ 2
Practice and more practice and of course, you can use cheatsheets
https://www.sololearn.com/discuss/727504/?ref=app
0
What languages have you tried? Some people take better to some languages than others. If you are good with the broad strokes for example, a higher level language might be for you.
Also make sure to learn your IDE. Those things are really powerful, if you know how to use them. And look up stuff on the web. Pretty much everything has been solved already.