I have the code to pick something randomly but only for a list of 6 names. What should I add to my code to import from a list of 200 and make sure I don't get the same answer twice?
<div>
<button onclick="findspeech();" type="randomspeech">Random
Speech</button>
<input "randomspeech" id="randomspeech">
</div>
<script>
function findspeech() {
var speech = ["Bednar", "Nelson", "Uchtdorf", "Christofferson",
"Eyring", "Gong"];
var random = Math.floor(Math.random() * (speech.length - 1));
document.getElementById("randomspeech").setAttribute("value",
speech[random]);
}
</script>