Hi, I’m trying to use wix style api to dynamically change the color of a container box on click.
But even after using this code the color does not change. But console logging the color shows the new color-
$w(“#myElement”).style.backgroundColor = “rgba(255,0,0,0.5)”;