Checkout this video:
One of the most important things to do when learning any programming language is to practice. A great way to practice is to use an online code editor such as JSBin or JSfiddle. These editors allow you to write and run code in your browser.
Once you have chosen a method of learning, there are some specific tips that will help you succeed. First, it is important to practice regularly. You should set aside some time each day to work on coding problems. Additionally, it is helpful to seek out resources that provide clear and concise explanations. And finally, it is beneficial to find a mentor who can help guide you through the learning process.