title: Multiply two input values and display answer as paragraph on page using jQuery
body: <p>Trying to take two input values from text boxes, click a button, and then return the answer as text</p>
  
  <p>The two input names are "weight" and "reps". I want it so once you click the button it will do the calculation and be added to div "result"</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div&gt;
    Weight lifted: &lt;input name="weight" type="text" value="?"&gt;
  &lt;/div&gt;
  &lt;div&gt;
    Reps attained: &lt;input name="reps" type="text" value="?"&gt;
  &lt;/div&gt;
  &lt;button&gt;Calculate One-Rep Max&lt;/button&gt;
  
  &lt;div id="result"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>what i have now for jquery:</p>
  
  <pre><code>$(document).ready(function() {
    $('button').click(function() {
      var weight = $('input[name=weight]').val();
      var reps = $('input[name=weight]').val();
      var max = $('input[name=weight]').val() * $('input[name=reps]').val() * 0.0333 +   $('input[name=weight]').val();
      $('#result').append("&lt;p&gt;" + max + "&lt;/p&gt;");
    });
  });
  </code></pre>