title: how to change innerHtml by adding a integer value to element?
body: <p>I build a Scoreboard </p>
  
  <p>what it does when someone click the +500 button it will add 500 to the value in the score board i.e it will add 500 to the value of p tag</p>
  
  <pre><code>   &lt;div class="box"&gt; 
   &lt;h2&gt;Teams&lt;/h2&gt;
   &lt;div class="score"&gt;
      &lt;p id="p1" class="lead"&gt;230&lt;/p&gt;
    &lt;/div&gt;
    /div&gt;
   &lt;button id="b1"&gt;+500&lt;/button&gt;
  </code></pre>
  
  <p>JavaScript for it</p>
  
  <pre><code>var myScore = document.getElementById("b1");
  myScore.onclick = function () {
      var newScore = document.getElementById("p1").innerHTML;
      var value = newScore + 500;
      document.getElementById("p1").innerHTML = value;
  };
  </code></pre>
  
  <p>but this is showing me  <strong>230500</strong> instead of <strong>730</strong>. how to change my inner html value 230 in integer form ??  </p>