Review Algorithmic Thinking by Building a Dice Game - Step 1

Tell us what’s happening:

There’s a mistake with the instructions. It says to create let totalScoreText = document.querySelector("total-score"), but if i try to submit it, it says my code doesn’t pass. When i tried to remove text part it worked. I’m unsure what I should do about that. Can I you advice me on this, please?

Your code so far

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

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

let scoreInputs = document.querySelectorAll("#score-options input");
let currentRound = document.querySelector("#current-round");
let currentRoundRolls = document.querySelector("#current-round-rolls");
let totalScore = document.querySelector("#total-score");

// User Editable Region
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Review Algorithmic Thinking by Building a Dice Game - Step 1

Can you provide more details on this?
What was the code originally?
Was the message shown as a Hint?

Message was shown as a hint.
The original code is let totalScoreText = document.querySelector("total-score"), the changed version is : let totalScore = document.querySelector("total-score").

I am not able to see the hint.
Are you able to see the hint after you click reset and put that line of code in?

No, i didn’t click reset button. It was visible when i clicked check your code

can you try to recreate the situation and tell me how to do it on my end?

I just started creating variables. I guess if you create them one by one as listed and clicking check your code button after creating each variable you will get to that one. That’s how it happened to me anyway

yeah I tried, but I haven’t seen that hint. If you figure out how you got it to trigger that would be great.

You can also try reporting it if you think you can explain it well enough on github.
instructions below:

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

Ok, will try later. Thank you so much. Quick question, can I attach screenshot?

yes definitely, if you have one