I was following BroCode javascript course and I got to the Dice Roller Program. Everything was going good until I got here. This specific line is causing me problems and I don’t know why.
I ended up finishing that part of the video but still haven’t fixed the issue. Here the problem:
diceResult.textContent = `dice: ${values.join(', ')}`;
This is supposed to display the dice when you click on the “Roll Dice” just like in the video but I get this error in the console “index.js:18 Uncaught ReferenceError: values is not defined
at index.js:18:35”