get h1 text javascript

Solutions on MaxInterview for get h1 text javascript by the best coders in the world

showing results for - "get h1 text javascript"
Mae
12 Nov 2016
1var h1Text = document.querySelector("h1").innerText;