JSFiddle - React, Tailwind, and code Playground

JavaScript

// 输入
var name = prompt("请输入你的名字:");