<html>
<body>
<h1 id="newspaper">
The Springfield Shopper
</h1>
<script>
console.log(document.getElementById("newspaper").innerHTML);
</script>
</body>
</html>]]>Make sure to pick document
, followed by .getElementById("newspaper")
, and finally .innerHTML
.