let value1= document.getElementById(‘value1’)
let value2= document.getElementById(‘value2’)
let value3= document.getElementById(‘value3’)
let inpspeed=document.getElementById(‘inpspeed’)
let values=[
‘😛’, ‘😝’, ‘😜’, ‘😬’, ‘🤓’
]
function getRandomvalue(){
return values[parseInt(Math.random()*5)]
}
setInterval(() =>{
value1.innerText=getRandomvalue()
value2.innerText=getRandomvalue()
value3.innerText=getRandomvalue()
},300)
inpspeed.onchange=function(ev){
console.log(‘Value Changed’, ev.target.value)
}