html select h2 objects code example
Example 1: do some css using js on selector
let myElement = document.querySelector("#superman");
myElement.style.backgroundColor = "#D93600";
Example 2: queryselector for jquery
var x = $(".yourclass")[0];
console.log('jq' + x);
var y = document.querySelector(".yourclass");
console.log('js' + y);