From 91d1c7df485f789af6d116ad812a1fdf4cae2477 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sun, 2 Mar 2025 04:47:18 -0600 Subject: [PATCH] randomize casing (Idea Credit: @suya1671) --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 7434e98..bfa0d53 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ submit.setAttribute("type", "submit"); // below function modified from https://stackoverflow.com/a/1484514 function color() { - let letters = "0123456789ABCDEF", color = "#"; + let letters = "0123456789AbCdEf", color = "#"; for (var i = 0; i < 6; i++) { color += letters[Math.floor(Math.random() * 16)]; } @@ -184,5 +184,5 @@