master
louisa 1 year ago
parent ab70954133
commit 6ddad38840

@ -22,8 +22,8 @@
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').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
document.body.style.backgroundColor = 'blue'; document.body.style.backgroundColor = 'blue';

Loading…
Cancel
Save