Does anyone know why this only runs once?
<script> "use strict"; var hex = ["a","b","c","d","e","f","A","B","C","D","E","F","1","2","3","4","5","6","7","8","9"]; var hexColor = hex[Math.floor(Math.random()*21)] + hex[Math.floor(Math.random()*21)] + hex[Math.floor(Math.random()*21)] + hex[Math.floor(Math.random()*21)] + hex[Math.floor(Math.random()*21)] + hex[Math.floor(Math.random()*21)]; var body = document.getElementsByTagName("body"); var colorChange = function() { body[0].style.backgroundColor = "#" + hexColor; } setInterval(colorChange,3000); </script>