Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

do some css using js on selector

let myElement = document.querySelector("#superman");
myElement.style.backgroundColor = "#D93600";
Source by www.kirupa.com #
 
PREVIOUS NEXT
Tagged: #css #js #selector
ADD COMMENT
Topic
Name
1+4 =