how to download the programs in jsFiddle

You have to put /show a after the URL you’re working on:
 
It is the site that shows the results.
And then when you save it as a file. It is all in one HTML-file.
For example: