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