This commit is contained in:
parent
c44df4924d
commit
e93ddcdca4
|
@ -16,8 +16,12 @@ console.log(min)
|
|||
console.log(max)
|
||||
var rn = Math.floor(Math.random()*(max-min+1)+min);
|
||||
console.log(rn)
|
||||
var bodyc = document.getElementById('owo').classList;
|
||||
if (rn > 0) {
|
||||
bodyc.remove('jack');
|
||||
}
|
||||
if (rn = 1) {
|
||||
document.getElementById('owo').class = 'kazoo';
|
||||
bodyc.add('kazoo');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue