document.body.querySecltor code example
Example 1: js queryselector names
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');
Example 2: queryselector
document.querySelector(".example");
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');
document.querySelector(".example");