javascript getelementbyid test type select 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');