Pretty straightforward. This is my very inefficient code:
var slider1 = new Slider("#survey1", {
precision: 2,
value: 5
})
var slider2 = new Slider("#survey2", {
precision: 2,
value: 5
})
var slider3 = new Slider("#survey3", {
precision: 2,
value: 5
})
var slider4 = new Slider("#survey4", {
precision: 2,
value: 5
})
var slider5 = new Slider("#survey5", {
precision: 2,
value: 5
})
I'm sure this can be made way more efficiently, It should go up to "#survey13" but I skipped the rest to save space. Maybe a for loop? How could I add the counter to the name of the variable and referenced id?