我将全部的代码上传到了github,你可以下载查看 <!-------change the background color--------------> <script> function color1(event) { var cubebody=document.getElementById('body_color'); cubebody.className = 'graydient1'; } function color2() { var cubebody=document.…
<script> function selectForm(lowerValue,upperValue){ var choices=upperValue-lowerValue+1; return Math.floor(Math.random()*choices+lowerValue) } var colors=["red","green","blue","yellow","black","…