From b8f6e44d2f309a6c97466a5cce362c28082399cd Mon Sep 17 00:00:00 2001 From: Han Dai <10000@daihan.me> Date: Sat, 20 Aug 2022 22:35:39 +0000 Subject: [PATCH] Update 'covid-speedrun/index.html' --- covid-speedrun/index.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/covid-speedrun/index.html b/covid-speedrun/index.html index db82759..f09fa08 100644 --- a/covid-speedrun/index.html +++ b/covid-speedrun/index.html @@ -80,23 +80,19 @@ } } - // Still Running + // Last Row var row = table.insertRow(); var cell1 = row.insertCell(0); var cell2 = row.insertCell(1); - cell1.innerHTML = "NOW"; cell1.style.color = "#00ff00"; cell2.style.color = "#00ff00"; + // Still Running + cell1.innerHTML = "NOW"; function now() { cell2.innerHTML = timeSince(new Date() - timeline["First Positive"]); } setInterval(now, 10); - // Win - // var row = table.insertRow(); - // var cell1 = row.insertCell(0); - // var cell2 = row.insertCell(1); - // cell1.style.color = "#00ff00"; - // cell2.style.color = "#00ff00"; + // // Win // cell1.innerHTML = "Tested Negative!"; // cell2.innerHTML = timeSince(new Date("Aug xx, 2022 xx:00:00.000") - timeline["First Positive"]);