JSFiddle - React, Tailwind, and code Playground

by frogggeee McFrogggeee

HTML

<!DOCTYPE html>
<html>
<head>
<body>
<h1>the current day and time</h1>
<p id = "hi"></p>
</body>
</head>
</html>

JavaScript

document.getElementById("hi").innerHTML = "the day is: " + getDate();