let random = (Math.random()*10).toFixed()
let body = document.body;
console.log(random)
let a = 1
while(a = 2){
setTimeout(()=>{
if (random == 1){
body.style.background = 'red'
}else if (random == 2){
body.style.background = 'green'
}else if (random == 3){
body.style.background = 'blue'
}else if (random == 4){
body.style.background = 'darkgreen'
}else if (random == 5){
body.style.background = 'yellow'
}else if (random == 6){
body.style.background = 'white'
}else if (random == 7){
body.style.background = 'gray'
}else if (random == 8){
body.style.background = 'gold'
}else if (random == 9){
body.style.background = 'pink'
}else{
body.style.background = 'people'
}
},1000)
}