create css selector javascript code example
Example 1: js select element by css selector
// First Element:
document.querySelector('.class')
// Multiple Elements:
document.querySelectorAll('.class')
Example 2: do some css using js on selector
let myElement = document.querySelector("#superman");
myElement.style.backgroundColor = "#D93600";