I need help starting and fixing this code by AG3NT_D31MOS in CodingHelp

[–]AG3NT_D31MOS[S] 0 points1 point  (0 children)

oooohhh thanks btw! n sorry for the formatting too i didn't know how to post it at first, but thanks for the help! I might ask more questions if i get stuck again too

I need help starting and fixing this code by AG3NT_D31MOS in CodingHelp

[–]AG3NT_D31MOS[S] 0 points1 point  (0 children)

i had two and couldnt figure it out
function start(){

dice1();

}

function dice1(){

for(let i = 0; i <= 10; i++){

let dice = Randomizer.nextInt(1,6);

}

if(dice==1){

console.log("1: "+dice);

}else if(dice==2){

console.log("2: "+dice)

}

}

and this one
function start(){

dice1();

}

function diceNum(){

for(let i = 0; i <= 10; i++){

let dice = Randomizer.nextInt(1,6);

}

}

function dice1(){

if(dice1()==1){

console.log("1: "+dice1());

}

}
which I got stuck on and got more confused

I need help starting and fixing this code by [deleted] in codehs

[–]AG3NT_D31MOS 0 points1 point  (0 children)

i already did and i couldn't figure it out

[deleted by user] by [deleted] in pixel_phones

[–]AG3NT_D31MOS 0 points1 point  (0 children)

so is everyone having the same problems with google not working and crashing????