JSFiddle - React, Tailwind, and code Playground

by BeePositive

HTML

<html>
<head>

</head>
<body>
<p id="demo"></p>
<script>
function myFunction() {
  var d = new Date();
  var n = d.getFullYear();
  document.getElementById("demo").innerHTML = n;  
}
</script>
</body>
</html>