title: Difference between textContent vs innerText
body: <p>What is the difference between <code>textContent</code> and <code>innerText</code> in JavaScript? </p>
  
  <p>Can I use <code>textContent</code> as follows:</p>
  
  <pre><code>var logo$ = document.getElementsByClassName('logo')[0];
  logo$.textContent = "Example";
  </code></pre>