title: Display Variable in HTML
body: <p>Okay, I've seen a ton of variants of this question posted with no answer that seems to apply to my situation.</p>
  
  <p>In the most direct terms possible, I have a function that calculates a number variable named score. That variable's value is arbitrary.</p>
  
  <p>Is it possible for me to, in a code section, have that single variable be sourced into the html from an externally sourced JS file?</p>
  
  <pre><code>&lt;div&gt;
  Thank you for completing my quiz!&lt;br/&gt;
  Your score is:&lt;br/&gt;
  (The variable would go here)&lt;br/&gt;
  Please try again sometime!
  &lt;/div&gt;
  </code></pre>
  
  <p>I would want it to just display a number there, that changes based on the value of the score variable. is that possible?</p>