innerText appending words weirdly
https://codepen.io/latuza/pen/vENMEpB
Hi, when I use
.innerHTML += it reserves everyhting inlcuding classes on other tags, and add text to it. But, when I use .innerText +=, it destroys everything and just add the text, why?3 Replies