This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
If you expect to access a DOM element several times, access it once, and then use it as a local variable:
const obj = document.getElementById("demo"); obj.innerHTML = " Hello";