I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
You might notice that your code enabled the last radio button (“None of the Above”) multiple times within your getHighestDuplicates , detectFullHouse and checkForStraights functions.
Can you identify the line of code the instructions are referring to?
this is the line of code the instructions are referring .
Lastly, you should tidy up your code with a bit of refactoring! You might notice that your code enabled the last radio button (“None of the Above”) multiple times within your getHighestDuplicates , detectFullHouse and checkForStraights functions. Refactor your code so that instead of enabling the last radio button at the end of each function, it should only be done once inside of rollDiceBtn .
your code enabled the last radio button (“None of the Above”) multiple times within your getHighestDuplicates , detectFullHouse and checkForStraights functions.
So there is a line of code which enables the last radio button. The same line of code is in all three of the mentioned functions.
Look for one line of code which:
acts on radio buttons
enables the last radio button
appears in each of those functions.
Even if it’s not correct just reply with your best guess, but make sure it’s a line of code, and we can take it from there?