title: Getting NaN in Javascript With Simple Calculation
body: <pre><code>&lt;script&gt;
  function runCals() {
     var milesRun = document.getElementById("runDist")
     var runCals = Number(milesRun) * 96
     document.getElementById("cals").innerHTML = runCals
  }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>I am getting NaN and I do not understand why. I visited many stack questions but none I found had my specific problem. </p>
  
  <p>Why am I getting NaN and how do I fix it?</p>