When hovering over an li all of the li-elements turns into white. I only want the one li-element I am hovering on to turn into from text color black to white. What have I done wrong?
slideArea.addEventListener("mouseover", function () {
images.forEach(li => {
li.style.color = `#fff`
li.style.cursor = 'default'
li.innerHTML = "- -"
})
})