Tell us what’s happening:
Hi … I’m confused " updateRadioOption should update the scoreInputs element at the provided index to be enabled."
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
function updateRadioOption(score, index) {
scoreInputs[index].disabled = false;
scoreSpans[index].textContent = `, score = ${score}`;
};
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Challenge Information:
Review Algorithmic Thinking by Building a Dice Game - Step 6