queary selector in js code example
Example 1: js select element by css selector
// First Element:
document.querySelector('.class')
// Multiple Elements:
document.querySelectorAll('.class')
Example 2: queryselector
document.querySelector(".example");