javascript change the number of range on change

Solutions on MaxInterview for javascript change the number of range on change by the best coders in the world

showing results for - "javascript change the number of range on change"
Talia
29 Apr 2018
1<span id="valBox"></span>
2<input type="range" min="5" max="10" step="1" onchange="showVal(this.value)">
3<script>
4const showVal = (newVal) => {
5    document.getElementById("valBox").innerHTML=newVal;
6};
7</script>
8
similar questions