master
louisa 1 year ago
parent 3cdf6c040e
commit 59c39d7304

@ -19,7 +19,7 @@
// Split the data into separate parts
const [node, value] = data.split(' ');
if (node === 'node4' && value === '21') {
if (node === 'node3' && value === '15') {
// Change the background color to red
document.body.style.backgroundColor = 'red';
} else {

Loading…
Cancel
Save