title: I want to randomly display divs - how do I do this?
body: <p>I've followed a tutorial to create a random quote generator (using an array of quotes), and this works fine. </p>
  
  <p>I've then tried to create the same random generator but rather than displaying inner html from an array of quotes, I want to get it to display divs, inside which I have placed iframes with different content. </p>
  
  <p>This didn't work, and in the console it kept saying that the onclick button wasn't defined. </p>
  
  <p>Can anyone tell me how I even begin to do this? I am completely new to Javascript and have mainly been pulling bits of code from other places to try to see how it works. </p>
  
  <p>Basically, I want a button that when clicked displays a random div. I would also like the button text to change once it's been clicked once - so if anyone can help me with how I can do that too that would be great. </p>
  
  <p>Thanks. </p>