Tell us what’s happening:
why does it keep getting errors with messages like this: 1. If six rounds have been played, you should show an alert to the user. Even though I have done conditioning
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
if(round >= 6) {
setTimeout(() => {
alert(`Game Over! Your final score: ${score}`)
}, 500)
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Challenge Information:
Review Algorithmic Thinking by Building a Dice Game - Step 11