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.
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 "make quiz" button is clicked.
this is what my program looks like: image
its still a very rough draft so its noot looking very good lol