JSFiddle - React, Tailwind, and code Playground
by Lucas Krause
HTML
<form><input type="text" name="msg" /><input type="submit" /></form>
JavaScript
document.querySelector("input[type='text']").defaultValue="hallo_welt";
by Lucas Krause
<form><input type="text" name="msg" /><input type="submit" /></form>
document.querySelector("input[type='text']").defaultValue="hallo_welt";