from Joshua Bradley
explanation of how this code works
Don't dbl click on index.html, cd into directory and run http-server