Please, which myHeading is the addEventListener manipulating? Is it the ID or the constant?
Aayush Mitra24,360 Points
const myHeading = //make variable document.getElementById("myHeading");// getting element and storing it in that variable. myHeading.addEventListeneter(); //Making event listener for the VARIABLE myHeading which contaings the element's ID. Hope this helps! Thanks! :)