How can I delete the background-color and opacity properties using only Javascript (no Jquery! )?
This is what I tried:
document.getElementById('darkOverlay').style.removeProperty("background-color");
document.getElementById('darkOverlay').style.removeProperty("opacity");
but it did not work.