Tell us what’s happening:
My code is working fine but it is not passing as correct. Already, updated my browser (chrome), tried to force a reset (ctrl + f5), tried incognito and checked that my zoom is in 100%. All this things I have tried were recommended on other help posts with the same issue.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
rulesBtn.addEventListener("click", () => {
rulesContainer.style.display = isModalShowing ? "block" : "none" ;
rulesBtn.innerText = isModalShowing ? "Hide rules" : "Show rules"
isModalShowing = !isModalShowing;
})
// 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/132.0.0.0 Safari/537.36
Challenge Information:
Review Algorithmic Thinking by Building a Dice Game - Step 2