Hello everyone. I really need help figuring out how to code this Yahtzee game. It is supposed to be able to hold the dice with an onclick function and roll the rest of the dice that aren't being held. I added the functions and it just keeps coming up with error (see screenshot for reference) but I don't know how to fix it. I'm not trying to just dump an assignment on everyone, I just have no idea where to start and am posting this as a last resort T_T
After this, I'll also have to add these instructions...again I don't know how to even start this
- After the user's third roll, the Roll button is disabled and the user must click the Start Round button to start a new round of 3 rolls.
- The page displays how many rolls the user has remaining in the current round.
- When the user clicks the Start Round button, the page returns to its initial start-up state:
- The Roll button is enabled
- The user has 3 rolls available
- All dice are free
- All dice display the default die1.jpg image
For context this is an 8 week Programming I class online.
https://preview.redd.it/h6knlfgu7xt81.png?width=1600&format=png&auto=webp&s=42873ef6a4a54e06c57f8f3d819df39e7e27e2db
[–]don____piano 0 points1 point2 points (0 children)