add randomized colors for footer

This commit is contained in:
Aadil Ayub 2022-06-14 19:24:24 +05:00
parent ab60c05242
commit 13845ac30c

View File

@ -50,6 +50,12 @@
card.classList.add('lumbung-gallery')
}
})
// footer random color
var color = ['orange','green','blue'];
var footer = document.getElementById("footer");
var rand = Math.floor(Math.random() * color.length);
footer.classList.add(color[rand]);
</script>
</html>