SuperSimpleDev / javascript-course

682 stars 552 forks source link

cannot redeclare blocked-scoped variable 'randomNumber'. #42

Open gorkhali-extreme opened 1 year ago

gorkhali-extreme commented 1 year ago

<!DOCTYPE html>

Rock Paper Scissors

Rock Paper Scissors

Suleman7865 commented 11 months ago

`<!DOCTYPE html>

Rock Paper Scissors

Rock Paper Scissors

`
Suleman7865 commented 11 months ago

Try changing the variable name...

hariprasadkommineni commented 11 months ago

give const to rNumber

Suleman7865 commented 11 months ago

give const to rNumber

I have given let variable

RaissaKestring commented 5 months ago

@gorkhali-extreme hey, did you know what was wrong in your code? I have the same problem rn :\

Suleman7865 commented 5 months ago

@gorkhali-extreme hey, did you know what was wrong in your code? I have the same problem rn :\

I changed the variable name

RaissaKestring commented 5 months ago

@gorkhali-extreme hey, did you know what was wrong in your code? I have the same problem rn :\

I changed the variable name

Thanks