Answers for "do some css using js on selector"

1

do some css using js on selector

let myElement = document.querySelector("#superman");
myElement.style.backgroundColor = "#D93600";
Posted by: Guest on May-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language