title: Multiply 2 variables in javascript
body: <pre><code>&lt;script&gt;
      const value1 =document.querySelector(&quot;.value1&quot;);
      const value2 =document.querySelector(&quot;.value2&quot;);
      const value3 =document.querySelector(&quot;.value3&quot;);
      const value4 =document.querySelector(&quot;.value4&quot;);
      const value5 =document.querySelector(&quot;.value5&quot;);
      const value6 =document.querySelector(&quot;.value6&quot;);
      const value7 =document.querySelector(&quot;.value7&quot;);
      const value8 =document.querySelector(&quot;.value8&quot;);
  
      const slider1 =document.querySelector(&quot;.slider1&quot;);
      const slider2 =document.querySelector(&quot;.slider2&quot;);
      const slider3 =document.querySelector(&quot;.slider3&quot;);
      const slider4 =document.querySelector(&quot;.slider4&quot;);
      const slider5 =document.querySelector(&quot;.slider5&quot;);
      const slider6 =document.querySelector(&quot;.slider6&quot;);
      const slider7 =document.querySelector(&quot;.slider7&quot;);
      const slider8 =document.querySelector(&quot;.slider8&quot;);
  
      const uitslag =document.querySelector(&quot;.berekening&quot;);
  
      value1.textContent = slider1.value;
      value2.textContent = slider2.value;
      value3.textContent = slider3.value;
      value4.textContent = slider4.value;
      value5.textContent = slider5.value;
      value6.textContent = slider6.value;
      value7.textContent = slider7.value;
      value8.textContent = slider8.value;
  
      uitslag.textContent = value7 * value8;
  &lt;/script&gt;
  </code></pre>
  <p>Hi guys, I want to multiply value7 and value8 with eachother but I have no idea how to do this in javascript. After I multiplied the 2 different values with eachother I want to print this with the uitslag.textContent part. So if anyone can help me out with how I can multiply these two variables
  and then print them I would be very happy. Thanks in advance!</p>