JSFiddle - React, Tailwind, and code Playground
HTML
<select id="choice1">
<option value="tea">tea</option>
<option value="coffee">coffee</option>
</select>
<select id="choice2">
<option value="1">Milk</option>
<option value="2">Sugar</option>
<option value="3">Honey</option>
</select>
<select id="choice3">
<option value="yes">YES</option>
<option value="no">no</option>
</select>
<button id="btn" type="button">Generate</button>
JavaScript
var btn = document.getElementById("btn");
btn.addEventListener("click",function(){
var op1 = document.getElementById("choice1");
var op2 = document.getElementById("choice2");
var op3 = document.getElementById("choice3");
v1 = op1.options[op1.selectedIndex].value;
v2 = op2.options[op2.selectedIndex].value;
v3 = op3.options[op3.selectedIndex].value;
// do what you want with the three values
});