does css selector javascript code example
Example 1: queryselector
var el = document.querySelector(".myclass");
Example 2: do some css using js on selector
let myElement = document.querySelector("#superman");
myElement.style.backgroundColor = "#D93600";