Review Algorithmic Thinking by Building a Dice Game - Step 6

Tell us what’s happening:

not sure what I’m missing or if template literals are necessary

Prompt is:

Start by creating a function called updateRadioOption that takes an index and a score value as arguments. It should set the scoreInputs at that index to be enabled, set the value of that input to the score, and display , score = ${score} in the correct scoreSpans element.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

const updateRadioOption = (i, score) => {
  score = scoreInputs[i].value;
  scoreSpans[i].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/125.0.0.0 Safari/537.36

Challenge Information:

Review Algorithmic Thinking by Building a Dice Game - Step 6

I don’t see the code for this bit

If you want to use template literals then use it for the whole string.
Otherwise just concatenate the score to the string you made without template literals.