i have tried to give body<> a class with same name .. so that use it later to change the color of background when button is clicked .. i do not know if it from the syntax right .., any suggustions
<script>
function ChangeColor()
{
var ChangeColor = document.getElementsByClassName("body");
ChangeColor.style.background-color = "grey";
}
</script>