If you have the following HTML and JavaScript, what will the console show?
<p id="myParagraph">Text</p>
const paragraph = document.getElementById("myParagraph");
console.log(paragraph.textContent);
If you have the following HTML and JavaScript, what will the console show?
<p id="myParagraph">Text</p>
const paragraph = document.getElementById("myParagraph");
console.log(paragraph.textContent);