JavaScript Eingabe max maximalwert

 <input type="range" id="volume" name="volume" min="0" max="100">

var audio = new Audio('resources/rain.mp3')
audio.volume = .50

let volumerange = document.querySelector("#volume")
volumerange.value = 50

volumerange.addEventListener("change", () => {
    audio.volume = volumerange.value / 100
})
John Francis Bonifacio