master
louisa 2 years ago
parent ab70954133
commit 6ddad38840

@ -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';

Loading…
Cancel
Save