const doc = document.getElementById( code example
Example 1: getelementbyid
document.getElementById("someid");
Example 2: javascript getelementbyid
const element = document.getElementById('id');
//or
const element = document.querySelector('#id');