document.querySelectorAll get by id 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");