Tell us what’s happening:
I used
int randNumber = (int)(Math.random() *3);
It keeps choosing the 2
https://www.freecodecamp.org/challenges/generate-random-whole-numbers-with-javascript
Tell us what’s happening:
I used
int randNumber = (int)(Math.random() *3);
It keeps choosing the 2
https://www.freecodecamp.org/challenges/generate-random-whole-numbers-with-javascript
Can you post your entire code?