title: I want to store the input from the user such that it can be brought back upon request
body: <p>This is everything I have so far. I want to be able to take the input from the user, store it, then once the user inputs their name, whatever it is, and clicks the claim button, to return the initial input PLUS the interest gained. The coin flip is just another part of the project I'm going to add at the end. I know how to do that already.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;head&gt;
  
  &lt;/head&gt;
  
  
  &lt;body&gt;
  
  &lt;h1&gt;"Enter how much of your asset your would like to stake and click submit"&lt;/h1&gt;
  
  &lt;form id="demo" onsubmit="greet(); return false;"&gt;
    &lt;input id = "name" placeholder="Asset" type="text"/&gt;
    &lt;input type ="submit"/&gt;
  &lt;/form&gt;
  
  &lt;h1&gt;"Enter your name and click claim rewards to withdraw yo money!"&lt;/h1&gt;
  
  &lt;form id="demo" onsubmit="claim(); return false;"&gt;
    &lt;input id = "name" placeholder="Account Name" type="text"/&gt;
    &lt;input type ="submit"/&gt;
  &lt;/form&gt;
  
  &lt;h1&gt;"Also, if your feeling lucky, why not try guessing heads or tails?"&lt;/h2&gt;
  
    
  
  &lt;script&gt;
  function claim(){
    alert('Enjoy your prosperity!');
  }
  
  function greet(){
    alert('Your staked assets will now accrue interest until such time as you withdraw them or there are no more rewards to earn!');
  
  const accrueInterest = 1000;
  let asset = 0;
  while (accrueInterest){
    console.log(`There are ${asset} gaining interest.`)
    asset++;
    if (asset === 1000){
      console.log("There are no more rewards to earn!");
      break;
  
  
      }
    }
  }
  
  
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>THANK YOU IN ADVANCE FOR EVERYONE'S TIME AND CONSIDERATION!</p>