JSFiddle - React, Tailwind, and code Playground
by Keeley Peck
HTML
<h2>Hello!</h2>
<div id="helloworld"></div>
CSS
body {
text-align: center;
background-color: black;
}
h2 {
color: blue;
}
#helloworld {
color: red;
}
JavaScript
var name = prompt("What is your name?");
document.getElementById("helloworld").innerHTML="Welcome to CSCI E-3, "+name;