title: How to include input data from HTML page into Parameters in URL?
body: <p>I am doing a BMR Calulcator + Calorie counter, and my first page is where user input their info like height/age/gender, and I need to display these results on my 2nd page.</p>
  
  <p>Currently, I am able to display gender=male/female on the second page. I am also able to display Height/Age/Weight if I include them into the URL.</p>
  
  <p>Eg:<code>xxx.html?gender=female+height=100+age=100</code> , and it will print out on the page as <code>Gender=Female Height=100 Age=100</code></p>
  
  <p>But, I am unable to get the userAge/Weight/Height into the URL.</p>
  
  <p>FIRST PAGE JS:</p>
  
  <p><a href="https://ghostbin.com/paste/fpnrh" rel="nofollow noreferrer">https://ghostbin.com/paste/fpnrh</a></p>
  
  <p>SECOND PAGE JS:</p>
  
  <p><a href="https://ghostbin.com/paste/6bvcu" rel="nofollow noreferrer">https://ghostbin.com/paste/6bvcu</a></p>