How do you get the DOM element with id in JavaScript code example Example: Finding HTML Element by Id var myElement = document.getElementById("intro");