Skip to content

Instantly share code, notes, and snippets.

@emsesc
Created November 18, 2020 21:43
<form id="image-form" onsubmit="handle(event)" enctype="multipart/form-data">
<input class="label" type="file" onChange="loadFile(event)" accept="image/x-png,image/jpeg" name="image"></input>
<img id="output" class="img-fluid" src="img/logo.png"></img>
<br></br>
<input id="username" type="text" class="form-control" placeholder="Enter valid username">
<br></br>
<input class="boxed-btn3" type="submit" value="Submit Your Picture 📷"></input>
<p id="submit">You haven't submitted anything.</p>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment