Skip to content

Instantly share code, notes, and snippets.

@grdw
grdw / index.html
Last active May 30, 2023 07:45
A maze minesweeper date of birth UI
<!DOCTYPE html>
<html>
<head>
<title>Date Of Birth</title>
<script src="https://d3js.org/d3.v7.min.js"></script>
</head>
<body>
<form>
<label>Date of birth</label>
<input value="0" id="day" disabled="disabled" maxlength="2" name="date-of-birth-day"/>
@grdw
grdw / index.html
Created May 23, 2023 09:46
A date of birth field where you have to wait in real time until your correct date of birth appears
<!DOCTYPE html>
<html>
<head>
<title>Date of birth</title>
</head>
<body>
<canvas id="canvas" width="200" height="200"></canvas>
<form>
<label>Date of birth</label>
<input id="day" disabled="disabled" maxlength="2" name="date-of-birth-day"/>