restructured

This commit is contained in:
Karan
2021-12-03 14:20:12 +05:30
committed by GitHub
parent 0bf11bae56
commit 1e1aedd00c
+2 -2
View File
@@ -10,8 +10,8 @@
divs.forEach((el)=>{ divs.forEach((el)=>{
el.addEventListener("click",()=>{ el.addEventListener("click",()=>{
document.body.style.backgroundColor = el.textContent; document.body.style.backgroundColor = el.textContent;
}) });
}) });
</script> </script>
</body> </body>
</html> </html>