Always Do… Learn by Example.
While studying theory, do write out code examples as a proof of what you are trying to learn.
Practice makes you more efficient and helps to develop a deeper understanding.
In my experience with coaching individuals that that starting off, some tend to read/study and only take notes. Then when it comes time to explain a concept, they struggle. Practice, practice, practice… and always write code.
Don’t limit your potential by cutting corners by not writing out code to demonstrate what you are learning. Get your hands dirty and dive in.