queryselector javascript class code example
Example 1: queryselector
var el = document.querySelector(".myclass");
Example 2: js queryselector
const para = document.querySelectorAll('p');
var el = document.querySelector(".myclass");
const para = document.querySelectorAll('p');