JSFiddle - React, Tailwind, and code Playground

HTML

<input id="go" type="button" value="Yeah!">

JavaScript

function start() {
            var button = document.getElementById("go");
            button.addEventListener("click", fetchnumbers, false);
            /* I add this to pop up during function 1 Just to check to see if its working*/
            window.alert ("function 1");
        }   
        function fetchnumbers()
        {
            var math1 = Math.floor ((Math.random()*12)+1);
            var math2 = Math.floor ((Math.random()*12)+1);
            // I add this to pop up and display the numbers from the variables to ensure correct syntax for math function but heck no popup
            window.alert (math1 + math2 );
        }  
    /* I don't believe either function is working properly and 
       I'm not entirely sure its syntax. I'm doin something wrong and 
       I'm gouging my eyes out!!! */
    do {    
 
        finish = window.prompt ("Are we done for today?\n\nYes = 1\nNo = 2");   
    } while (finish == 2);  




start();