title: How to print h1 value back in html with a range?
body: <p>I have a range in my html.....
  Now my problem is that I want to print the value of the range back in my
  html</p>
  
  <p>This is the html for my range</p>
  
  <pre><code>&lt;form oninput="amount.value=rangeInput.value"&gt;
  &lt;input type="range" id="rangeInput" name="rangeInput" min="0" max="100"&gt;                                                       
  
      &lt;output name="amount" for="rangeInput"&gt;0&lt;/output&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>And i have a button to confirm the value</p>
  
  <pre><code>&lt;div id="bevestig"&gt;
      &lt;h1&gt;Bevestig&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Has anyone an idea how to print the value of the range back in my html after you click on the h1?</p>