ElementById javascript code example
Example: javascript getelementbyid
const element = document.getElementById('id');
//or
const element = document.querySelector('#id');
const element = document.getElementById('id');
//or
const element = document.querySelector('#id');