JSFiddle - React, Tailwind, and code Playground

JavaScript

var input = prompt("Enter data here", "");
alert("You entered '" + input + "'!");