Read code. Lots of code. Then build something functional that exploits the benefits of the language and the reasons you chose to learn it.
Build things and practice building things :)
Kobe throws 400 free shots every day - he is one of the best. Same mentality goes for everything ;)
First start with fundamentals build and break every single program. Then try to build phonebook/simple-blog/book-store. And after familiar with basic try to find particular job and improve day by day.
Like Sandeep Panda and Peter Scheler said, building things is the most powerful way to learn, but you cannot just sit down and start buiding project after project without knowing the basic syntax and fundamentals.
Using books and video courses is a great way to get started. Interactive courses are even better. Whatever you choose, remember one - start typing code from the very beginning. That means that should take an example and write it by hand. Don't just copy/paste it. Play with it, change it, extend it, optimize it. When you fully know it, move to the next one.
When you have a solid foundation, start solving small problems. Codewars, Project Euler, r/dailyProgrammer, Project Rosetta are full of different kind of problems.
After that you can start building projects, if you haven't already. Again, start small. You will learn more from building ten small projects than building one big one. Every time you have an idea, write it down. I have a Trello board full of project ideas from games to mobile applications. It's a great way of generating project ideas ahead of time.
Also, start teaching. That means you can write technical articles, answer questions on Hashnode or StackOverflow, help other beginners, give talks. Sky is the limit here. The best way to get a sence of whether you know the material or not is to explain it in the simplest way possible.
It's a very simple process . Imagine your learning English language, you first learn grammar (in our case Syntax), then you use the grammar that you have learnt and try making sentences (in our case,use syntax and write statements) and then use sentences to write an article(in our case use statements and write a program).
Whenever you learn any new language, Spend more time on fundamentals. if your fundamentals are strong, Only then you can go in-depth.
Its very important to build something ! By something I mean anything. Today maybe you learnt something new, use that knowledge and build something. By doing this you gain enormous knowledge about the concepts that you learnt earlier.
To sum up with i would say that keep your fundamentals strong and keep building something,This way you will master the language. Happy coding !
The best way to learn any technology or language is to build something with it. Massive learning happens when you write a simple app using the technology you want to learn.
Books, videos etc will teach you the basics and fundamentals. When you start writing an app, you gain real world knowledge and in the process you learn the language itself. Plus if you know one programming language, it is very easy to pick up a new one as most concepts might be the same. You just need practice.
If you are someone who likes to read books or articles, go for it. But make sure you are building something using the language or technology after you are done with the basics.
Tangorri
Be structured, isolate the concept clearly, read docs until you are able to appropriate tiers code then apply basic app then grow up your prétention