title: How to change the font size with an input type number?
body: <p><img src="https://i.stack.imgur.com/pjeJD.png" alt="Image showing the desirable outcome"></p>
  
  <p>The image above shows a function for a user to select his or her preferenced font size (it's a website for all ages). However, transferring this to code is easier said than done for me. All I found was that I had to use the following method:</p>
  
  <pre><code>&lt;input type="number"&gt;
  </code></pre>
  
  <p>Is there anyone who knows how to make such a function work with Javascript or jQuery that adjusts the font size to the selected number?</p>
  
  <p>Thanks so much in advance!</p>