JSFiddle - React, Tailwind, and code Playground
by cfarm
JavaScript
// Basic Mode
// The hiThere function writes to the document using the name provided in the function call (a parameter)
var hiThere = function(name){
// Do something here
};
// Get a name to use
promptName = window.prompt("What's your name?");
// Call hiThere with the name you got