Regardless of how I attempt to write the code, I keep getting the same error message, and I've been working to resolve this issue since last night. However, I can't seem to understand why it's bothering me so much.
The error message insists that all these lines are incorrect.
I am following the instructions from my course, and this code is part of a lesson that focuses on video content. Unfortunately, despite making numerous modifications, the code still doesn't function as expected.
document.getElementById('dice-1').style.display = 'block';
document.getElementById('dice-2').style.display = 'block';
var scores, roundScore, activePlayer, gamePlaying;
var lastDice;
function init() {
...
Please assist me with this problem.