From 6ddad38840550c674840e5cf212f19c7af568f7e Mon Sep 17 00:00:00 2001 From: louisa Date: Mon, 19 Jun 2023 16:58:37 +0200 Subject: [PATCH] ups --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 27c4e27..b0c8cf0 100644 --- a/public/index.html +++ b/public/index.html @@ -22,8 +22,8 @@ if (node === 'node3' && value === '15') { // Change the background color to red document.body.style.backgroundColor = 'red'; - document.getElementById('location-log').display = block; - + document.getElementById('location-log').style.display = block; + } else if (node === 'node4' && value === '21') { // Change the background color to blue document.body.style.backgroundColor = 'blue';