From aa2f60e6bfa3b2f2f8096de864933cb4fb85506d Mon Sep 17 00:00:00 2001 From: nadiavanleur Date: Thu, 28 Mar 2024 12:40:10 +0100 Subject: [PATCH] automatic number updates --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 4663527..1f06ec3 100644 --- a/index.html +++ b/index.html @@ -276,6 +276,7 @@

const setValues = async () => { const values = await getValues(); [...Object.keys(FIELDS)].forEach((key) => { + console.log(values); const value = [...values].find(total => total.includes(FIELDS[key]))[1]; const stringValue = value.toString(); const htmlValue = stringValue.split("").map((char) => `${char}`).join("");