onClick event on Random quote machine

Building Random Quote machine, I am trying to make button generate random number whenever I click on it. But, the number generated only when the page loaded not when the button clicked. Is there anything I am missing? thank you

https://codepen.io/Amasian/pen/QmBgNz

test this?

I would recommend writing your button.onclick function in your JS file. Right now there is no code linking the button in your html to the “brain” of the app, your JS file.