what get element by id returns code example Example: how to get element by id document.getElementById("demo");