This site is mobile accessible. Press the "Tap Here" button to use a different font-size.



Smartphone icons created by Freepik - Flaticon

JS HTML DOM

Hello World!

Hello Norway!

// Construct myNodeList
const myNodelist = document.querySelectorAll("p");

document.getElementById("demo").innerHTML = "The innerHTML of the second paragraph is: " + myNodelist[0].innerHTML;

This site is mobile accessible. The first paragraph is only visible to mobile users. It is this paragraph that is shown in myNodeList function.