document.SelectElemetbyid code example
Example 1: get element by id in javascript
document.getElementById("YourElementId");
Example 2: javascript getelementbyid
const element = document.getElementById('id');
//or
const element = document.querySelector('#id');