title: How to create a panel of buttons using Javascript?
body: <p>I am creating an animation that plays according to the speed and the color of the user's choice. I need to create a panel of speeds and colors, but I am not really sure how to crate it using JavaScript. I am only familiar with <code>form</code> in HTML. Maybe I can use</p>
  <pre><code>for (i=0; i&lt;=51; ++i){
  
  creates buttons
  }
  </code></pre>
  <p>But I am not totally sure, and how to assign corresponding speed and colors.</p>
  <p>I need something like this:</p>
  <p><a href="https://i.stack.imgur.com/Ui5ps.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ui5ps.png" alt="enter image description here" /></a></p>
  <p>I appreciate your help!</p>