Get slider data with the Fetch API

Go to Source

See the Code
See it Full Page
See Details

The [fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) is pretty damn awesome! It enables easy 'ajax' calls in vanilla Javascript and uses promises instead of callbacks. The browser support isn't quite there yet, but with the [window.fetch polyfill from github](https://github.com/github/fetch) you can happily run it with support up to IE9.

In this pen I retrieve some JSON data through the fetch API to fill the slider with data. If you want to know a bit more about this all in detail, check out this [blogpost](http://codepen.io/aderaaij/post/fetching-data-with-fetch)

This Pen uses: Jade, SCSS, JavaScript, and