Can someone explain what the document.getElementById(\"demo\") line does in the example below?
document.getElementById(\"demo\")
I understand getElementById gets the id of demo but the id is
It is just a selector that helps you select specific tag elements which help you change the behavior, in any event (either mouse or keyboard).