title: Code always showing same output (Problem with If statements in JavaScript)
body: <p>I tried making a tool that calculates battle out comes but this part of the code always displays: "DRAW!"</p>
  
  <pre><code>function battle()
  {
      var rawpower = document.getElementById('rawpower').value;
      var rawpoweropp = document.getElementById('rawpoweropp').value;
  
      if(rawpower &gt; rawpoweropp){
          alert("You won!");
      } else if(rawpower &lt; rawpoweropp){
          alert("You lose!");
      } else{
          alert("Draw!");
      }
  }
  </code></pre>