for(var i=1; i<41; i++){ console.log(document.querySelector(\'.fin-\'+i).textContent=document.imp.que+i.value); }
I want to get value from qu