So here's simple version of my curren code
<script src="main.js"></script>
<script type="text/javascript">
wwr_start();
function onSliderChanged(slider) {
wwr_req(`SET/TRACK/${slider.id}/VOL/${slider.value}`);
}
<label class="drx"> Stax </label>
<input type=range min=0 max=3 value=1 step=any id="3"
oninput="onSliderChanged(this)"
So i have about 40 slides (range input) that looks like code above. But whenever i refresh the page, the slider value get backs to default. how do i save the lastes position of slider value even if page is refreshed? i tried to use "sessionstorage" but, since i'm pretty new at coding world, i couldn't really figure out how to use that function.
tried to copy & paste how other people used sessionstorage but couldn't adopt to my current code