One of the best ways to learn to program, besides tinkering with scripts yourself, is to take a look at code examples from other people. TheCodePlayer has a great take on that, with video walkthroughs of cool stuff being created from scratch.
The videos show the code being written on the left side of the page and the changes happening on the right. You can also change the code yourself and see how that affects the scripts. I recommend switching the playback speed to 5x instead of the default 10x if you're just getting started.
Check out the site if you want to see some neat scripts in action and maybe learn a new trick or two. TheCodePlayer is in alpha right now, so hopefully there will be many more videos in the future.