qccoders / startup-idea-generator

Click a button and receive a randomized startup idea!
http://startups.qccoders.org
GNU General Public License v3.0
5 stars 7 forks source link

Create function to return a startup/noun idea pair #29

Closed jpdillingham closed 5 years ago

jpdillingham commented 5 years ago

getIdea() should return:

{
  startup: <random element from the startup array>,
  noun: <random element from the noun array>
}

Requires that getRandomIndex() (#28 ) has been completed.