I have created a different types of slider examples in my youtube channel if you want to watch and learn those examples please visit my youtube channel or comment below for the links.
Here i m sharing a very basic and simple example like plugin and play
Add this code in your script file and all set create couple of divs with class mySlides
Thank you friends
Original Source w3schools.com