Publitas Frontend Code Challenge

The Task

Implement an image slider like the example above, that lets you drag to change images. It should work exactly like the example provided, unless you think there is a bug (this is not a trick question - there shouldn't be any bugs but mistakes happen). In addition to that, the requirements are:

Deliverables

Please submit the entire source code along with instructions on how to build (if necessary) as a zip file or as a public github repo. Your project should contain folder with a built release, that can be run from a simple static file server, like nws. This means, if you need a compile or asset packing step, make sure all assets are precompiled and packed.