One of the best ways to learn a programming language is to solve practice problems and exercises. This page has examples and exercises on various concepts of JavaScript. It is advised that you try to solve these examples on your own and then check the provided solution.