var elem = document.querySelector('input[type="range"]');
var rangeValue = function(){
var newValue = +elem.value;
var target = document.querySelector('.value');
if(newValue > 80 && newValue < 100) target.innerHTML = '1';
else if(newValue > 100 && newValue < 120) target.innerHTML = '123';
else if(newValue > 115&& newValue < 118) target.innerHTML = '4';
else if(newValue > 117&& newValue < 125) target.innerHTML = '5';
else target.innerHTML = '';
}
elem.addEventListener("input", rangeValue);