JSFiddle - React, Tailwind, and code Playground

by Kaleb Hornsby

HTML

<form id="form" onsubmit="return(login())">
<input name="username" placeholder="Username" required title="This field should not be left blank." />
<input name="pass"  type="password" placeholder="Password" required/>
<br/>Remember me: <input type="checkbox" name="remember" value="true" /><br/>
<input type="submit" name="submit" value="Log In"/>