JavaScript code from https://jakearchibald.com/2015/thats-so-fetch/, modified to fit on slide.