slider control in html code example
Example 1: html make range bar show value
<input type="range" name="rangeInput" min="0" max="100" onchange="updateTextInput(this.value);">
<input type="text" id="textInput" value="">
Example 2: javascript get html slider value
var x = document.getElementById("myRange").value