JSFiddle - React, Tailwind, and code Playground
by gopinaghr
HTML
Name: <input type ="text" id = "name">
<input type="submit" name="login" id ="submit">
JavaScript
$("#submit").click({
var name = document.getElementById("name");
localStorage.name = name;
});