1<input type="range" name="rangeInput" min="0" max="100" onchange="updateTextInput(this.value);">
2<input type="text" id="textInput" value="">
1function updateTextInput(val) {
2 document.getElementById('textInput').value=val;
3 }
1
2 <label for="points">Points (between 0 and 10):</label>
3<input type="range"
4 id="points" name="points" min="0" max="10">