master
louisa 1 year ago
parent 6ddad38840
commit 3441e60b42

@ -22,7 +22,7 @@
if (node === 'node3' && value === '15') { if (node === 'node3' && value === '15') {
// Change the background color to red // Change the background color to red
document.body.style.backgroundColor = 'red'; document.body.style.backgroundColor = 'red';
document.getElementById('location-log').style.display = block; document.getElementById('location-log').style.display = 'block';
} else if (node === 'node4' && value === '21') { } else if (node === 'node4' && value === '21') {
// Change the background color to blue // Change the background color to blue

Loading…
Cancel
Save