JSFiddle - React, Tailwind, and code Playground

by thepirat000

HTML

<script>
    function updateSlider(slideAmount) {
        var sliderDiv = document.getElementById("sliderAmount");
        sliderDiv.innerHTML = slideAmount;
    }
</script>
<input id="slide" type="range" min="1" max="100" step="1" value="10" onchange="updateSlider(this.value)" oninput="updateSlider(this.value)">

<div id="sliderAmount"></div>