The best way to learn JavaScript is by practicing examples. The page contains examples on basic concepts of JavaScript. You are advised to take the references from these examples and try them on your own.