JSFiddle - React, Tailwind, and code Playground
by Josh Pullen
HTML
<!--
Create timer that keeps you on track to do n questions in m minutes
(default 23 questions in 35 minutes)
-->
JavaScript
import { html, render } from "https://unpkg.com/htm/preact/standalone.module.js";
function App() {
const [startTime, setStartTime] = useState();
return html`
<div style=${{ width: "100vw", height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", overflowY: "auto" }}>
<h1>LSAT Timer</h1>
</div>
`;
}
function useStopwatch() {
}
render(html`<${App} />`, document.body);