My HTML and JS are all here:
https://gist.github.com/RoloRobot/b2e15af9ab0d8c1bdbdd
My quicksort works perfectly well but when I try to test it, I can only view it in console. It generates random numbers everytime. I am trying to make it so that when I press the "Commence Quicksort" button, the sorted random sequence will appear below the button and will continue for however many times I press the button.
Any help would be appreciated!
var div = document.getElementById('QuickTimes'); div.innerHTML = div.innerHTML + array + '<br />';By the way, you have mistakes in the HTML.