An XKCD comic browser that fetches a relevant Flickr picture for each comic.
Some code snippets and design ideas are borrowed from KPR-examples/slideshow and KPR-examples/flickr-grid. This app utilizes the XKCD API and the Flickr Public Feed API. The app fetches Flickr photos using the 'safe_title' of the currently displayed XKCD comic.
Press the back or forward buttons to advance to the previous or next XKCD comic strip, respectively. Press the 'Random' button to go to a random XKCD comic. Toggle between a relevant Flickr image and XKCD comic by clicking on the Flickr or XKCD icons located in the upper right hand corner of the application.
Extra credit features:
- 'Random' button to generate a random XKCD comic
- Additional information about the comic (Display alt text when you click and hold the comic image)
- Maybe this counts? Responsive design that works with desktop and mobile
Crumbs:
The app is missing some error checking: if you're at the most recent XKCD comic and you wish to go to the next comic, the app will simply crash).
Comments