Smart Recycling
displays in the console- Nothing, the code won't run
- The
h2
element displays in the console - The
h2
element's text is updated <html>
<body>
<h2 id="name">Smart Recycling</h2>
<p>Small changes, big impact</p>
<script>
console.log(document.getElementById("name").innerHTML);
</script>
</body>
</html>]]>When the code runs, Smart Recycling
displays in the console.