title: Uncaught TypeError: Cannot read property 'innerText' of null
body: <p>i have no idea about this error, because i just checked all of other topics and didn't get result.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let demo = document.getElementById("#demo");
  demo.innerText("yo");</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="ie=edge"&gt;
      &lt;title&gt;Pract&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;script src="javascript.js"&gt;&lt;/script&gt;
      &lt;p id="demo"&gt;&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>