I am trying to use one slider code for two sliders using same class name. I have created this codepen to illustrate the problem.
Problems: