Review Algorithmic Thinking by Building a Dice Game - Step 1

Tell us what’s happening:

code not passing…
i think its ok to go ,still getting error

Your code so far

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

/* file: styles.css */

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

const listOfAllDice = document.querySelectorAll(".die");
const scoreInputs =document.querySelectorAll("score-options input");
const scoreSpans  =document.querySelectorAll("#score-options span");
const currentRound  =document.querySelector("#current-round");
const currentRoundRolls =document.querySelector("#current-round-rolls");
const totalScoreText =document.querySelector("#total-score");
const scoreHistory  =document.querySelector("#score-history");
const rollDiceButton =document.querySelector("#roll-dice-btn");
const keepScoreButton =document.querySelector("#keep-score-btn");
const rulesButton =document.querySelector("#rules-btn");
const rulesContainer =document.querySelector(".rules-container");
let isModalShowing = false;
const diceValuesArr = [];
let rolls = 0;
let score = 0;
let total = 0;
let round = 1;


// 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/130.0.0.0 Safari/537.36 Edg/130.0.0.0

Challenge Information:

Review Algorithmic Thinking by Building a Dice Game - Step 1

Hi @kamkibaat354

You should assign your #score-options input elements to scoreInputs.

Please check the value for the query selector.

Happy coding

Hi there!

In above you have missing # before value.

The variable name is not correct in above.

Also this variable name is not correct.

Variable name is not correct.

Also for the above lines variable name is not correct.

Your all variable should be reassigned. The diceValuesArr is constant, it’s not be assigned again.