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>

<div id="display"></div>

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;
    
    var url1,url2,url3;
    switch(v1){
        case "tea":
            url1="url1Tea.com"
            break;
        case "coffee":
            url1="url1Coffee.com";
            break;
    }
    // do the same with other two values. Let's asume we have already url2 and url3:
    url2="mysecondurl.com";
    url3="mythirdurl.com";
    //now let's add the urls to the div with ID "display"
    container = document.getElementById("display");
    container.innerHTML = ""; // we clear the div
    
    p1 = document.createElement("p"); //create the first <p> element
    p1.innerHTML = url1;	// add the url inside the <p> element
    container.appendChild(p1);	//append the <p> element to the div
    
    p2 = document.createElement("p");
    p2.innerHTML = url2;
    container.appendChild(p2);
    
    p3 = document.createElement("p");
    p3.innerHTML = url3;
    container.appendChild(p3);
});