Created
March 6, 2022 19:48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="/set-timer" method="get" id="timer-form"> | |
<label for="time-select">Enter a date and time for the glitter bomb to detonate:</label> | |
<input id="time-select" type="datetime-local" name="time" /> | |
<button type="submit" form="timer-form">Start Timer</button> | |
</form> | |
<script> | |
document.getElementById("time-select").value = Date().toString(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment