Tell us what’s happening:
" Step 173
Inside the if
expression, add the string Right! You win 20 gold!
to the end of text.innerText
. Also, add 20
to the value of gold
and update the goldText.innerText
."
Oddly having trouble with this one since this is very straightforward at this stage. Am i going nuts???
### Your code so far
if (numbers.indexOf(guess) !== -1) {
text.innerText += " Right! You win 20 gold!";
gold += 20;
goldText.innerText = gold;
}