JSFiddle - React, Tailwind, and code Playground
by chrisfrisina
HTML
<input type="button" onclick="disp_prompt()" value="Display a prompt box">
JavaScript
function disp_prompt()
{
var fname=prompt("Please enter your name:","Your name")
document.getElementById("msg").innerHTML="Greetings " + fname
}
var recursiveTShirt = function (){
while num < input {
alert('there's a tshirt in there');
}();