JavaScript mendapatkan elemen dengan id
var element = document.getElementById("YourElementId");
Batman
var element = document.getElementById("YourElementId");
document.getElementById("YourElementId");
var myElement = document.getElementById("intro");
var myElement=document.getElementById("someElementID");
var element = document.getElementById(id);
let element = document.getElementById("elementId");