JSFiddle - React, Tailwind, and code Playground

HTML

<input id="slide" type="range" min="1" max="100" step="1" value="10">
<div id="sliderAmount"></div>

JavaScript

var slide = document.getElementById('slide'),
    sliderDiv = document.getElementById("sliderAmount");

slide.onchange = function() {
    sliderDiv.innerHTML = this.value;
}