javaScript получить элемент от id
var element = document.getElementById("YourElementId");
Batman
var element = document.getElementById("YourElementId");
document.getElementById("someid");
document.getElementById("YourElementId");
var myElement = document.getElementById("intro");
var myElement=document.getElementById("someElementID");
let element = document.getElementById("elementId");