I would say it depends on the language you're using. If your programming language already has published code style guidelines, then I would say study them and use them in your code. Python and PEP8 would be a good example of this. However, say for a language like PHP, where a lot of best practices are community driver, I would say start with a good framework like Laravel which can really teach you how to structure and organize your code well.
One thing to remember with frameworks when starting out is that we often forget that there are other ways to do things as well. Frameworks are great ways to learn good coding practices, as long as we remember they are not the only coding practices.
Focus on vanilla code. Frameworks will make you produce working code - but you won't understand what is going on. This is nothing you should want to achieve.
I would suggest that you master the basics before touching any framework whatsoever. Also once you master the basics, you'll be able to learn and master any framework
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.