Bit of a rewrite

This commit is contained in:
Henry Hiles 2022-06-02 14:56:53 -04:00
parent b6377bd228
commit 82dd6fd398
11 changed files with 787 additions and 953 deletions

View file

@ -0,0 +1,9 @@
import { v4 as uuidv4 } from "https://jspm.dev/uuid"
const input = document.querySelector("#go-input")
const setHref = () =>
(document.querySelector("#go").href = input.value || uuidv4())
setHref()
input.addEventListener("keyup", setHref)