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

Hellow World!

Hellow Norway!

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

document.getElementById("demo").innerHTML = "This document contains " + myNodelist.length + " paragraphs.";

As noted in the previous example, this site is mobile accessible. The very first paragraph is only visible on mobile devices. It is still counted by JavaScript NodeList functions.