const MCITEMDIFFERENCE = document.querySelectorAll('.mc__span'); MCITEMDIFFERENCE.forEach((element)=>{ if (element.innerHTML.startsWith("+") { element.classList.add("plusDifference"); } if (element.innerHTML.startsWith("-") { element.classList.add("minusDifference"); } })