title: how do i randomly generate a binary number in javascript?
body: <p>I'm making a simple program where i make a number system conversion quiz but i don't know how to generate a binary number in Javascript.</p>
  <p>the user chooses what kind of conversion he/she likes. (eg: binary to decimal, decimal to hex etc)
  it also asks how many questions the user wants and proceeds to generate the questions once the &quot;make quiz&quot; button is clicked.</p>
  <p>this is what my program looks like:
  <a href="https://i.stack.imgur.com/OVAjV.png" rel="nofollow noreferrer">image</a></p>
  <p>its still a very rough draft so its noot looking very good lol</p>