diff --git a/LIT2025058/b.html b/LIT2025058/b.html new file mode 100644 index 0000000..f3f50ed --- /dev/null +++ b/LIT2025058/b.html @@ -0,0 +1,16 @@ + + + + + + Document + + + +
+ +
+ + + + diff --git a/LIT2025058/script.js b/LIT2025058/script.js new file mode 100644 index 0000000..6185034 --- /dev/null +++ b/LIT2025058/script.js @@ -0,0 +1,8 @@ +const element=document.getElementById("buttons"); +const element2=document.getElementById("box"); + function greeting(){ + const body=document.body; + const color=['#7ec924ff']; + body.style.backgroundColor=color[0]; + } +element.addEventListener('click',greeting); \ No newline at end of file