js access el id code example Example: js how to find element using id element = document.querySelector("#id");