<span id='number'>$number</span>
let blocks = document.querySelectorAll('.parent span'),
result = document.querySelector('#result'),
multiplier = 0;
addPlus(block,whereToAdd){
block.forEach(function(el){
multiplier +=el.innerHTML;
})
result.innerHTML = multiplier;
}
addPlus(blocks,result);