JSFiddle - React, Tailwind, and code Playground
by Karl Hui
HTML
<h1>This is a simple header</h1>
CSS
h1 {
font-size:15px;
color:#f0f;
text-decoration:underline;
-webkit-transition-duration:0.2s;
}
JavaScript
var i = 2000;
var test = Math.log(i);
document.querySelector("h1").textContent = "The base 10 logarithm of " + i + " is " + test + "." ;