This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
Finding HTML Elements by Id
This example demonstrates the getElementsById method.
const element = document.getElementById("intro"); document.getElementById("demo").innerHTML = "The text from the intro paragraph is: " + element.innerHTML;