LinkedIn Interview Question

How you would code a slideshow?